TextStyle Members
The storage of text appearance settings.Constructors
Name | Description |
---|---|
TextStyle() | Initializes a new TextStyle instance with the default settings. |
Fields
Name | Description |
---|---|
ColorProperty static | Identifies the Color dependency property. |
FontAttributesProperty static | Identifies the FontAttributes dependency property. |
FontFamilyProperty static | Identifies the FontFamily dependency property. |
FontSizeProperty static | Identifies the FontSize dependency property. |
Properties
Name | Description |
---|---|
Color | Gets or sets the color of the text. |
FontAttributes | Gets or sets whether the text is italic, bold, both, or neither. |
FontFamily | Gets or sets the name of a font family the style owner uses to display its text. |
FontSize | Gets or sets the size of the text. |
See Also