Struct TextAndFontStyle
Contains text and font style.
public struct TextAndFontStyle
Constructors
- TextAndFontStyle(string)
Initializes a new instance of the TextAndFontStyle struct with the specified text.
- TextAndFontStyle(string, FontStyle)
Initializes a new instance of the TextAndFontStyle struct with the specified text and font style.
Fields
- FontStyle
Gets or sets font style.
- Text
Gets or sets text.
Methods
Operators
- implicit operator TextAndFontStyle(string)
Implicit operator declaration for the conversion from string to TextAndFontStyle.