Class RichTextEditorInlineMode
A class used for configuring the SfRichTextEditor as inline edting.
Inheritance
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 |
|
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 |
|
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. |