Synced
UI.SetClass
Section titled “UI.SetClass”
- Activates or deactivates one element class.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.UI
Scope: Runtime
Declaration
Section titled “Declaration”public static bool InnoEngine.UI.UI.SetClass(InnoEngine.UI.UiContextHandle context, InnoEngine.UI.UiDocumentHandle document, string elementId, string className, bool active)Parameters
Section titled “Parameters”Parameter context: The context that supplies state and services for this operation.
Parameter document: The document consumed by set class; ownership remains with the caller unless explicitly stated otherwise.
Parameter elementId: The element id text validated by the set class operation.
Parameter className: The class name text validated by the set class operation.
Parameter active: Whether active behavior is enabled while set class executes.
Returns
Section titled “Returns”true when the operation succeeds or its condition is satisfied; otherwise, false.