ILkToolbarButton Interface

Interface exposes an individual toolbar button. It supports adding button text and icon, enabling/disabling, hidding.

The ILkToolbarButton type exposes the following members.

Methods

NameDescription
Public method ConnectTo Connects to a specific button.
Public method DoClick Invokes a handler behind a button.
Properties

NameDescription
Public property ButtonId Button identifier for OnClick event.
Public property Buttons Provides a collection to define list of buttons in a dropdown menu.
Public property Description Defines mouse over title of the button.
Public property Enabled Sets or gets button enabled state.
Public property IconHandle Gets or sets icon hanle associated with the button.
Public property IsChecked Sets or retrieves a button check state.
Public property IsSmall Gets or sets the size of the button.
Public property Position Sets or retrieves a button index.
Public property Text Defines text of the button.
Public property Visible Sets or gets if button visible or hidden.
Public property Widget Defines a style of the button.
Events

NameDescription
Public event Click Notifies a plugin on a button click.
See Also