menu

Blazor

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

    Show / Hide Table of Contents

    Class RichTextEditorInlineMode

    A class used for configuring the SfRichTextEditor as inline edting.

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

    In the following code example, enable the inline edit mode.

    @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 the inline editing mode is enabled. The default value is false.

    Remarks

    While enabling the inline mode toolbar display on demand, when the editable text is focused or selected, the inline floating toolbar appears.

    ShowOnSelection

    Gets or sets whether the inline toolbar displayed while select the content or focus on it.

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

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

    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 - 2023 Syncfusion Inc. All Rights Reserved