Skip to content

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.

csharp
public enum ListSelectionChangeReason

Fields ​

DeselectAll ​

Every row was removed from the selection (Ctrl+A when already all-selected).

Returns: ListSelectionChangeReason

csharp
DeselectAll = 3

ExtendRange ​

A contiguous range of rows was added to or removed from the selection (the default Shift+Arrow / Shift+Home / Shift+End bindings).

Returns: ListSelectionChangeReason

csharp
ExtendRange = 1

Programmatic ​

The selection set was replaced via the controlled SelectedIndices widget property rather than user input.

Returns: ListSelectionChangeReason

csharp
Programmatic = 4

SelectAll ​

Every row was added to the selection (Ctrl+A when not already all-selected).

Returns: ListSelectionChangeReason

csharp
SelectAll = 2

Toggle ​

A single row's checked state was toggled (the default Space binding).

Returns: ListSelectionChangeReason

csharp
Toggle = 0

Released under the MIT License.