In This Topic
A web UI element that represents button with the following behaviour:
- If button is clicked when drop-down button list is hidden, button opens the drop-down button list.
- If button is clicked when drop-down button list is opened, button closes the drop-down button list.
- If mouse is clicked outside the drop-down button list when drop-down button list is opened, button closes the drop-down button list.
- If button from drop-down button list is clicked, active button is changed.
- Button allows to get/set the active button.
- Button displays image of active button.
- Button allows to specify the layout direction, horizontal aligninment mode and vertical alignment mode for buttons in drop-down button list.
Syntax
// Parameters
var settings; // Type: object
var items; // Type: WebUiButtonJS
var panelSettings; // Type: object
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiToggleButtonJS(settings, items, panelSettings);
function WebUiToggleButtonJS;
Inheritance Hierarchy
Object
Vintasoft.Imaging.UI.UIElements.WebUiElementJS
Vintasoft.Imaging.UI.UIElements.WebUiToggleButtonJS
Browser Compatibility
See Also