[]
        
(Showing Draft Content)

C1.Win.Editor.TextStyleEventArgs

TextStyleEventArgs Class

The TextStyleEventArgs class provides style information. The class object is passed to the CurrentTextStyleChanged event and OnCurrentTextStyleChanged method.

Inheritance
TextStyleEventArgs
Namespace: C1.Win.Editor
Assembly: C1.Win.Editor.8.dll
Syntax
public class TextStyleEventArgs : EventArgs

Constructors

Name Description
TextStyleEventArgs()

This constructor creates a default TextStyleEventArgs object.

Properties

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.