Class RichTextEditorFontStyle
Represents a font style option used in a rich text editor.
Inheritance
System.Object
RichTextEditorFontStyle
Namespace: Syncfusion.Maui.RichTextEditor
Assembly: Syncfusion.Maui.RichTextEditor.dll
Syntax
public class RichTextEditorFontStyle : Object
Constructors
RichTextEditorFontStyle(String, String)
Initializes a new instance of the RichTextEditorFontStyle class.
Declaration
public RichTextEditorFontStyle(string displayText, string fontFileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | displayText | Font family name to display in the view |
System.String | fontFileName | Set the font family file name |
Properties
DisplayText
Gets or sets the display text for the font style option.
Declaration
public string DisplayText { get; set; }
Property Value
Type |
---|
System.String |
FontFileName
Gets or sets the source or name of the font to be applied.
Declaration
public string FontFileName { get; set; }
Property Value
Type |
---|
System.String |