[]
Represents a collection of toolbar items in the viewer's toolbar.
public class ToolbarItems : IDisposable
The ToolbarItems
class provides methods to add, update, and remove items from the toolbar, as well as manage the order and visibility of these items.
Name | Description |
---|---|
AddItem(ToolbarItem) | Adds a new item to the toolbar. |
Dispose() | |
GetKeys() | Returns identifiers of default and added buttons in the order in which they will be displayed in the toolbar. |
Layout(string[]) | Sets the keys of the visible toolbar items and their order. |
RemoveItem(string) | Removes existing item from the toolbar. |
UpdateItem(string, ToolbarItem) | Updates a previously added toolbar item. |