Skip to main content
A newer version of this page is available. .

RepositoryItemTokenEdit.SelectedItemsChanged Event

Occurs whenever a token is added or removed to (from) the TokenEdit.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Events")]
public event ListChangedEventHandler SelectedItemsChanged

Event Data

The SelectedItemsChanged event's data class is ListChangedEventArgs. The following properties provide information specific to this event:

Property Description
ListChangedType Gets the type of change.
NewIndex Gets the index of the item affected by the change.
OldIndex Gets the old index of an item that has been moved.
PropertyDescriptor Gets the PropertyDescriptor that was added, changed, or deleted.

Remarks

The SelectedItemsChanged event allows you to respond to modifying the RepositoryItemTokenEdit.SelectedItems collection.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedItemsChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also