Class RichTextEditorBulletFormatList
A class used for configuring the BulletFormatList properties in SfRichTextEditor. This component allows users to customize bullet formats within the editor toolbar.
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> | A list of DropDownItemModel specifying the bullet formats. |
Remarks
The bullet formats allow customization of the bulleted list appearance in the text editor.
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Remarks
Call this method to release unmanaged resources explicitly when the component is no longer needed.
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 |