TextElement Properties

TextElement Properties

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

The TextElement 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.
Public property ContentEnd Gets a TextPointer that represents the end of the content in the element.
Public property ContentStart Gets a TextPointer that represents the start of content in the element.
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.
Public property ElementStart Gets a TextPointer that represents the position just before the start of the element.
Public property FontFamily Gets or sets the preferred top-level font family for the content of the element.
Public property FontSize Gets or sets the font size for the content of the element.
Public property FontStretch Gets or sets the glyph width of the font in a family to select.
Public property FontStyle Gets or sets the font style for the content in this element.
Public property FontWeight Gets or sets the top-level font weight to select from the font family for the content in this element.
Public property Foreground Gets or sets the Brush to apply to the content in this element.
Public property Language Gets or sets the language of the content within an TextElement element.
Public property Name Gets or sets a unique identification for the object. Name can only be set from initial parsing of XAML.
Top

Show:
© 2017 Microsoft