VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiToggleButtonJS type / set_ActiveButton Methods / set_ActiveButton(number) Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_ActiveButton(number) Method
In This Topic
Sets the active button of current WebUiToggleButtonJS object.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiToggleButtonJS(settings, items, panelSettings);

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_ActiveButton(value);

Parameters

value
The zero-based index of button in buttons collection.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if collection does not contain specified button.
Browser Compatibility
56+
45+
11
See Also