Class RichTextEditorToolbarSettings
A class used for configuring the ToolbarSettings properties in the Rich Text Editor.
Inherited Members
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorToolbarSettings : SfBaseComponent
Constructors
RichTextEditorToolbarSettings()
Declaration
public RichTextEditorToolbarSettings()
Properties
Enable
Specifies whether to render the toolbar in the Rich Text Editor.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
If enabled, the rich text toolbar is displayed, providing editing controls.
EnableFloating
Specifies whether to enable or disable the floating toolbar.
Declaration
public bool EnableFloating { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
When floating is enabled, the toolbar remains visible as the user scrolls through the editor's content.
Items
An array of objects that is used to configure the toolbar items.
Declaration
public List<ToolbarItemModel> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarItemModel> | A list of ToolbarItemModel defining the toolbar items. |
Remarks
The toolbar items are configurable and determine which tools are available to the user.
Type
Specifies the types of toolbar display.
Declaration
public ToolbarType Type { get; set; }
Property Value
Type | Description |
---|---|
ToolbarType | A value from the ToolbarType enumeration. |
Remarks
ToolbarType defines how toolbar items are displayed: Expand, MultiRow, or Scrollable.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
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. |
Overrides
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. |