次の方法で共有


ClassifiedTextRun Class

Definition

Represents a contiguous run of classified text in an IToolTipServiceIToolTipPresenter.

public ref class ClassifiedTextRun sealed
public sealed class ClassifiedTextRun
type ClassifiedTextRun = class
Public NotInheritable Class ClassifiedTextRun
Inheritance
ClassifiedTextRun

Remarks

Classified text runs live in ClassifiedTextElements and are a string, classification pair. On StartOrUpdate(ITrackingSpan, IEnumerable<Object>), the classified text is converted to a platform-specific run of formatted (colorized) text via the IViewElementFactoryService and is displayed.

Constructors

ClassifiedTextRun(String, String, Action, String, ClassifiedTextRunStyle)

Creates a new run of classified text.

ClassifiedTextRun(String, String, ClassifiedTextRunStyle, String)

Creates a new run of classified and marked text.

ClassifiedTextRun(String, String, ClassifiedTextRunStyle)

Creates a new run of classified text.

ClassifiedTextRun(String, String)

Creates a new run of classified text.

Properties

ClassificationTypeName

The name of the classification which maps to formatting properties that will be applied to this text.

MarkerTagType

The Type of the ITextMarkerTag whose properties will be applied to this text.

NavigationAction

The navigation action for the hyperlink.

Style

The style that will be applied to the text.

Text

The text that will be formatted by ClassificationTypeName's corresponding formatting.

Tooltip

The text that will be displayed on the hyperlink tooltip.

Applies to