menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorInlineMode - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RichTextEditorInlineMode

    A class used for configuring the SfRichTextEditor for inline editing. This class allows for a more compact editing interface by displaying the toolbar in a floating mode.

    Inheritance
    System.Object
    RichTextEditorInlineMode
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RichTextEditorInlineMode : OwningComponentBase
    Examples

    In the following code example, inline edit mode is enabled.

    @using Syncfusion.Blazor.RichTextEditor;
    <SfRichTextEditor>
         <RichTextEditorInlineMode Enable="true" ShowOnSelection="false"/>
    </SfRichTextEditor>

    Constructors

    RichTextEditorInlineMode()

    Declaration
    public RichTextEditorInlineMode()

    Properties

    Enable

    Gets or sets whether to enable or disable the inline edit mode in the editor.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if inline editing mode is enabled; otherwise, false. The default value is false.

    Remarks

    When inline mode is enabled, the toolbar appears as a floating toolbar when the editable content is focused or selected, allowing for a streamlined editing experience directly within the text context.

    ShowOnSelection

    Gets or sets whether the inline toolbar is displayed upon selecting text or focusing on it.

    Declaration
    public bool ShowOnSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the inline toolbar appears on text selection; otherwise, it appears on editor focus. The default value is true.

    Remarks

    This setting determines whether the toolbar should be visible automatically upon text selection, aiding quick access to formatting options without disrupting the workflow.

    Methods

    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.

    OnInitializedAsync()

    Method invoked when the component is ready to start.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    OnParametersSetAsync()

    Method invoked when the component has received parameters from its parent.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved