Class ToolbarModule
Represents the toolbar module in DocumentEditor.
Inheritance
System.Object
ToolbarModule
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class ToolbarModule : Object
Constructors
ToolbarModule(SfBaseComponent)
Initializes a new instance of the ToolbarModule class. Default constructor for ToolbarModule.
Declaration
public ToolbarModule(SfBaseComponent baseComponent)
Parameters
Type | Name | Description |
---|---|---|
SfBaseComponent | baseComponent | An DocumentEdiorComponent instance. |
Methods
EnableItemAsync(Int32, Boolean)
Enables or disables the specified Toolbar item.
Declaration
public void EnableItemAsync(int itemIndex, bool isEnable)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | itemIndex | Specifies the item index. |
System.Boolean | isEnable | Specifies to enable or disable. |