VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiElementStateCollectionJS type / getItemByName Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
getItemByName Method
In This Topic
Returns UI element state with specified name.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states);

var value; // Type: Vintasoft.Imaging.UI.UIElements.WebUiElementStateJS

// Parameters
var name; // Type: string

value = instance.getItemByName(name);

Parameters

name
Name of UI element state.

Return Value

WebUiElementStateJS object or null if collection does not contain state element with specified name.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if name is empty string.
Browser Compatibility
56+
45+
11
See Also