alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class RichTextEditorNumberFormatList

    A class for configuring the properties of NumberFormatList within the SfRichTextEditor.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    RichTextEditorNumberFormatList
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RichTextEditorNumberFormatList : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    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 displayed in the numbered list toolbar item in the SfRichTextEditor.

    Declaration
    [Parameter]
    public List<DropDownItemModel>? Items { get; set; }
    Property Value
    Type Description
    List<DropDownItemModel>

    The collection of format list items represented by DropDownItemModel.

    Remarks

    Items in the list determine the available options in the number format dropdown of the toolbar.

    Methods

    Dispose()

    Dispose the unmanaged resources.

    Declaration
    public virtual void Dispose()

    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
    OwningComponentBase.Dispose(bool)

    GetDropDownType()

    Declaration
    protected virtual string GetDropDownType()
    Returns
    Type
    string

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved