Run Properties
Collapse the table of content
Expand the table of content

Run Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The Run type exposes the following members.

  NameDescription
Public property CharacterSpacing Gets or sets the distance between characters of text in the control measured in 1000ths of the font size. (Inherited from TextElement.)
Public property ContentEnd Gets a TextPointer that represents the end of the content in the element. (Inherited from TextElement.)
Public property ContentStart Gets a TextPointer that represents the start of content in the element. (Inherited from TextElement.)
Public property Dispatcher Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public property ElementEnd Gets a TextPointer that represents the position just after the end of the element. (Inherited from TextElement.)
Public property ElementStart Gets a TextPointer that represents the position just before the start of the element. (Inherited from TextElement.)
Public property FlowDirection Gets or sets the direction that text and other user interface elements flow within the Run element that controls their layout.
Public property FontFamily Gets or sets the preferred top-level font family for the content of the element. (Inherited from TextElement.)
Public property FontSize Gets or sets the font size for the content of the element. (Inherited from TextElement.)
Public property FontStretch Gets or sets the glyph width of the font in a family to select. (Inherited from TextElement.)
Public property FontStyle Gets or sets the font style for the content in this element. (Inherited from TextElement.)
Public property FontWeight Gets or sets the top-level font weight to select from the font family for the content in this element. (Inherited from TextElement.)
Public property Foreground Gets or sets the Brush to apply to the content in this element. (Inherited from TextElement.)
Public property Language Gets or sets the language of the content within an TextElement element. (Inherited from TextElement.)
Public property Name Gets or sets a unique identification for the object. Name can only be set from initial parsing of XAML. (Inherited from TextElement.)
Public property Text Gets or sets the text contents of the Run.
Public property TextDecorations Gets or sets a value that specifies the text decorations that are applied to the content in an Inline element. (Inherited from Inline.)
Top

Show:
© 2017 Microsoft