Class EditFormats
Inheritance
System.Object
EditFormats
Implements
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public class EditFormats : Object, IFormat
Remarks
Edit Format has formatname, font, fontsize and foreground properties.
Examples
// Initializing editformats
EditFormats EditFormats1 = new EditFormats();
EditFormats1.FormatName = "KeywordFormat";
EditFormats1.Font = "Arial";
EditFormats1.FontSize = 12;
Constructors
EditFormats()
Declaration
public EditFormats()
Properties
FontFamily
Gets or sets the FontFamily to be applied when this instance of Format is applied.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
Remarks
Specifies the Font name of the Lexem
FontSize
Gets or sets the FontSize to be applied when this instance of Format is applied
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double |
Remarks
Specifies the Font Size of the Lexem
Foreground
Gets or sets the Foreground to be applied when this instance of Format is applied
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
Remarks
Specifies the Foreground color of the Lexem
FormatName
Gets or sets name of the Format object. Name property is used to identify the text style in the Language class
Declaration
public string FormatName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |
Remarks
Specifies the FormatName of the Lexem.