Class RichTextEditorFontStyle
Represents a font style option used in a rich text editor.
Inherited Members
Namespace: Syncfusion.Maui.RichTextEditor
Assembly: Syncfusion.Maui.RichTextEditor.dll
Syntax
public class RichTextEditorFontStyle
Constructors
RichTextEditorFontStyle(string, string)
Initializes a new instance of the RichTextEditorFontStyle class.
Declaration
public RichTextEditorFontStyle(string displayText, string fontFileName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | displayText | Font family name to display in the view |
| 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 |
|---|
| string |
FontFileName
Gets or sets the source or name of the font to be applied.
Declaration
public string FontFileName { get; set; }
Property Value
| Type |
|---|
| string |
Methods
ToString()
Returns a string representation of the font style option.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The display name of the font style. |