The event handler receives an argument of type TextStyleEventArgs containing data related to this event. The following TextStyleEventArgs properties provide information specific to this event.
Property | 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. |