SelectionChangeSource Enum
Lists values that specify the selection change source.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v25.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum SelectionChangeSource
Members
| Name | Description |
|---|---|
UserAction
|
Selection changes when a user selects items using mouse/keyboard, or clicks the built-in Select All checkbox (only for ListBox with multiple selection). |
ParameterChange
|
Selection changes when Blazor updates the component’s |
ApiCall
|
For ListBox with multiple selection only: Selection changes when the SelectAllAsync or DeselectAllAsync method is called. |
Related API Members
The following properties accept/return SelectionChangeSource values:
Remarks
Handle the DxComboBox.SelectedDataItemChanged, DxListBox.SelectedDataItemsChanged, or DxTagBox.SelectedDataItemsChanged event to respond to item selection changes. Use the ChangeSource argument property to identify the action that caused the selection change.
ComboBox/TagBox items can be selected/deselected in two ways: UserAction, ParameterChange. ListBox item selection can be changed in three ways: UserAction, ParameterChange, ApiCall.
Refer to DxComboBox.SelectedDataItemChanged, DxListBox.SelectedDataItemsChanged, and DxTagBox.SelectedDataItemsChanged event descriptions for examples.