Class RichTextEditorNumberFormatList
A class used for configuring the NumberFormatList properties in SfRichTextEditor.
Inheritance
System.Object
RichTextEditorNumberFormatList
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorNumberFormatList : OwningComponentBase
Examples
@using Syncfusion.Blazor.RichTextEditor;
<SfRichTextEditor>
<RichTextEditorToolbarSettings Items = "@Tools" />
<RichTextEditorBulletFormatList Items="@NumberList" />
</SfRichTextEditor>
@code {
private List<ToolbarItemModel> Tools = new List<ToolbarItemModel>()
{
new ToolbarItemModel() { Command = ToolbarCommand.NumberFormatList }
};
List<DropDownItemModel> NumberList = new List<DropDownItemModel>() {
new DropDownItemModel() { Text = "None", Value = "none" },
new DropDownItemModel() { Text = "Number", Value = "decimal" },
new DropDownItemModel() { Text = "Upper Alpha", Value = "upper-alpha" },
new DropDownItemModel() { Text = "Lower Alpha", Value = "lower-alpha" }
};
}
Constructors
RichTextEditorNumberFormatList()
Declaration
public RichTextEditorNumberFormatList()
Properties
Items
Gets or sets the format list collection to be shown in the numbered list tool item in the SfRichTextEditor.
Declaration
public List<DropDownItemModel> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DropDownItemModel> |
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
GetDropDownType()
Declaration
protected virtual string GetDropDownType()
Returns
Type |
---|
System.String |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |