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
Inherited Members
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorBulletFormatList : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
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
[Parameter]
public List<DropDownItemModel>? Items { get; set; }
Property Value
| Type | Description |
|---|---|
| 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(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
GetDropDownType()
Used to get the dropdown type.
Declaration
protected virtual string GetDropDownType()
Returns
| Type | Description |
|---|---|
| string | Returns the dropdown type. |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing any asynchronous operation. |
Overrides
Remarks
This method is responsible for detecting and reacting to property changes from the parent component.