Class RichTextEditorQuickToolbarSettings
A class is used to configure the quick toolbar settings in the SfRichTextEditor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorQuickToolbarSettings : OwningComponentBase
Constructors
RichTextEditorQuickToolbarSettings()
Declaration
public RichTextEditorQuickToolbarSettings()
Properties
ActionOnScroll
Gets or sets a value whether the quick toolbar is hidden or not on scrolling the page or editor container.
Declaration
public ActionOnScroll ActionOnScroll { get; set; }
Property Value
Type | Description |
---|---|
ActionOnScroll | One of the ActionOnScroll enumeration. The default value is Hide |
Remarks
If the ActionOnScroll
is Hide
, the quick toolbar is hidden on scrolling the page or editor container.
If the ActionOnScroll
is None
, the quick toolbar is keep visible on scrolling the page or editor container.
Audio
Gets or sets the quick toolbar items to render when the audio is selected in the editor.
Declaration
public List<AudioToolbarItemModel> Audio { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AudioToolbarItemModel> |
Enable
Gets or sets whether to enable a quick toolbar in the SfRichTextEditor or not.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Image
Gets or sets the quick toolbar items to render when the image is selected in the editor.
Declaration
public List<ImageToolbarItemModel> Image { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ImageToolbarItemModel> |
Link
Gets or sets the quick toolbar items to render when a link is selected in the editor.
Declaration
public List<LinkToolbarItemModel> Link { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<LinkToolbarItemModel> |
ShowOnRightClick
Gets or sets whether the quick to open a quick toolbar on the right click or not.
Declaration
public bool ShowOnRightClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Table
Gets or sets the quick toolbar items to render when the table is selected in the editor.
Declaration
public List<TableToolbarItemModel> Table { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TableToolbarItemModel> |
Text
Gets or sets the quick toolbar items to render when the text is selected in the editor.
Declaration
public List<ToolbarItemModel> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ToolbarItemModel> |
Video
Gets or sets the quick toolbar items to render when the video is selected in the editor.
Declaration
public List<VideoToolbarItemModel> Video { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<VideoToolbarItemModel> |
Methods
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
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. |