CheckboxToggledEventArgs
Namespace: Hex1b.Events
Assembly: Hex1b.dll
Event arguments for when a checkbox is toggled. The state transition is expressed as a pair of values rather than as references to the underlying instance — toggles mutate the existing state in place, so the "previous" instance no longer exists by the time the event fires.
csharp
public sealed class CheckboxToggledEventArgsInheritance
Object → CheckboxToggledEventArgs
Properties
Context
The input binding context.
Returns: InputBindingActionContext
csharp
public InputBindingActionContext Context { get; }NewValue
The new value after toggling.
Returns: CheckboxValue
csharp
public CheckboxValue NewValue { get; }Node
The node that raised the event.
Returns: CheckboxNode
csharp
public CheckboxNode Node { get; }PreviousValue
The previous value before toggling.
Returns: CheckboxValue
csharp
public CheckboxValue PreviousValue { get; }Widget
The widget that raised the event.
Returns: CheckboxWidget
csharp
public CheckboxWidget Widget { get; }