TextRunProperties Class
Provides a set of properties, such as typeface or foreground brush, that can be applied to a TextRun object. This is an abstract class.
Assembly: PresentationCore (in PresentationCore.dll)
| Name | Description | |
|---|---|---|
![]() | TextRunProperties() | Initializes a new instance of the TextRunProperties class. |
| Name | Description | |
|---|---|---|
![]() | BackgroundBrush | Gets the brush that is used to paint the background color of the text run. |
![]() | BaselineAlignment | Gets the baseline style for a text that is positioned on the vertical axis. |
![]() | CultureInfo | Gets the culture information for the text run. |
![]() | FontHintingEmSize | Gets the text size in points, which is then used for font hinting. |
![]() | FontRenderingEmSize | Gets the text size in points for the text run. |
![]() | ForegroundBrush | Gets the brush that is used to paint the foreground color of the text run. |
![]() | NumberSubstitution | Gets the number substitution settings, which determines who numbers in text are displayed in different cultures. |
![]() | PixelsPerDip | Get or sets the PixelsPerDip at which the text should be rendered. |
![]() | TextDecorations | Gets the collection of TextDecoration objects used for the text run. |
![]() | TextEffects | Gets the collection of TextEffect objects used for the text run. |
![]() | Typeface | Gets the typeface for the text run. |
![]() | TypographyProperties | Gets the typography properties for the text run. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The text layout client provides a concrete implementation of this abstract class. This enables the client to implement text run properties in a way that corresponds with the associated formatting store.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


