ListSelectionChangeReason
Namespace: Hex1b.Events
Assembly: Hex1b.dll
The reason a was raised. Surfaced via so handlers can distinguish a user-toggle from a select-all from a programmatic mutation.
public enum ListSelectionChangeReasonFields
DeselectAll
Every row was removed from the selection (Ctrl+A when already all-selected).
Returns: ListSelectionChangeReason
DeselectAll = 3ExtendRange
A contiguous range of rows was added to or removed from the selection (the default Shift+Arrow / Shift+Home / Shift+End bindings).
Returns: ListSelectionChangeReason
ExtendRange = 1Programmatic
The selection set was replaced via the controlled SelectedIndices widget property rather than user input.
Returns: ListSelectionChangeReason
Programmatic = 4SelectAll
Every row was added to the selection (Ctrl+A when not already all-selected).
Returns: ListSelectionChangeReason
SelectAll = 2Toggle
A single row's checked state was toggled (the default Space binding).
Returns: ListSelectionChangeReason
Toggle = 0