[]
The TextStyleEventArgs class provides style information. The class object is passed to the CurrentTextStyleChanged event and OnCurrentTextStyleChanged method.
public class TextStyleEventArgs : EventArgs
| Name | Description |
|---|---|
| TextStyleEventArgs() | This constructor creates a default TextStyleEventArgs object. |
| Name | Description |
|---|---|
| Alignment | The Alignment property indicates the HorizontalAlignment of text. |
| BackgroundColor | The BackgroundColor property indicates the background or highlight color of text. |
| Bold | The Bold property indicates whether text is bold. |
| FontFamilyName | The FontFamilyName property indicates the font family name. |
| FontSize | The FontSize property indicates the font size in points. |
| FontStyle | The FontTyle property indicates the font style attributes (e.g.: bold, italics, underline, etc.). |
| FontWeight | The FontWeight property indicates the font weight (default normal = 400). |
| ForeColor | The ForeColor property indicates the foreground color of text. |
| Italic | The Italic property indicates whether text is displayed with italics. |
| StrikeThrough | The StrikeThrough property indicates whether text is displayed with strike through. |
| SubScript | The SubScript property indicates whether the text is displayed as subscript. |
| SuperScript | The SuperScript property indicates whether the text is displayed as superscript. |
| Underline | The Underline property indicates whether the text is displayed as underlined. |