[]
Represents a toolbar item in a viewer's toolbar.
public class ToolbarItem
The ToolbarItem
class allows you to define and control individual items within a viewer's toolbar.
Each toolbar item can have its own unique identifier, state, display text, icon, and actions.
Name | Description |
---|---|
ToolbarItem() |
Name | Description |
---|---|
Action | Gets or sets the action handler for the toolbar item. This handler is invoked when the item is activated. |
Checked | Gets or sets a value indicating whether the toolbar item is checked. |
Enabled | Gets or sets a value indicating whether the toolbar item is enabled. |
IconCssClass | Gets or sets the CSS class for the icon of the toolbar item. |
Key | Gets or sets the unique identifier for the toolbar item. |
OnUpdate | Gets or sets the function that is called to update the state of the toolbar item. |
Text | Gets or sets the display text for the toolbar item. |
Title | Gets or sets the tooltip text for the toolbar item. |