In This Topic
Determines whether the collection contains specified UI element state.
Syntax
var instance = new Vintasoft.Imaging.UI.UIElements.WebUiElementStateCollectionJS(states);
var value; // Type: boolean
// Parameters
var state; // Type: WebUiElementStateJS
value = instance.contains(state);
Parameters
- state
- A WebUiElementStateJS object.
Return Value
True if collection contains specified UI element state; otherwise, False.
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also