Class RichTextEditorToolbarSettings
A class used for configuring the ToolbarSettings properties in 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 a value whether render the toolbar in Rich Text Editor.
Declaration
public bool Enable { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableFloating
Specifies whether to enable or disable the floating toolbar.
Declaration
public bool EnableFloating { get; set; }
Property Value
Type |
---|
System.Boolean |
Items
An array of string or object that is used to configure the toolbar items.
Declaration
public List<ToolbarItemModel> Items { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<ToolbarItemModel> |
Type
Specifies the Toolbar display types. The possible types are:
- Expand: Toolbar items will be placed within the available space and rest of the items will be placed in the extended menu section.
- MultiRow: Toolbar which is placed at top of Rich Text Editor editing area.
- Scrollable: All the toolbar items will be displayed in a single line with horizontal scrolling enabled.
Declaration
public ToolbarType Type { get; set; }
Property Value
Type |
---|
ToolbarType |
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. |