Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Updates the class state and applies the resulting invariants.

API: engine
Project: Inno.UI.Runtime

public bool Inno.UI.Runtime.UiRuntime.SetClass(Inno.UI.UiContextHandle context, Inno.UI.UiDocumentHandle document, string elementId, string className, bool active)

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.

true when the operation succeeds or its condition is satisfied; otherwise, false.