Class RichTextEditorBulletFormatList
A class used for configuring the BulletFormatList properties in SfRichTextEditor.
Inheritance
System.Object
RichTextEditorBulletFormatList
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorBulletFormatList : OwningComponentBase
Examples
@using Syncfusion.Blazor.RichTextEditor;
<SfRichTextEditor>
<RichTextEditorToolbarSettings Items = "@Tools" />
<RichTextEditorBulletFormatList Items="@BulletList" />
</SfRichTextEditor>
@code {
private List<ToolbarItemModel> Tools = new List<ToolbarItemModel>()
{
new ToolbarItemModel() { Command = ToolbarCommand.BulletFormatList }
};
List<DropDownItemModel> BulletList = new List<DropDownItemModel>() {
new DropDownItemModel() { Text = "None", Value = "none" },
new DropDownItemModel() { Text = "Circle", Value = "circle" },
new DropDownItemModel() { Text = "Square", Value = "square" }
};
}
Constructors
RichTextEditorBulletFormatList()
Declaration
public RichTextEditorBulletFormatList()
Properties
Items
Gets or sets the format list collection to be shown in the bulleted 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 |