Events

The RadListBox is an ItemsControl. Almost all of the exposed events are inherited from the ItemsControl class. RadListBox adds an additional event:

  • SelectionChanged - occurs when the selected item is changed. The SelectionChanged event handler receives two arguments:

    • The sender argument contains the RadListBox. This argument is of type object, but can be cast to the RadListBox type.

    • A SelectionChangedEventArgs object which has the following properties:

      1. AddedItems - gets a list that contains the items that were selected.

      2. RemovedItems - gets a list that contains the items that were unselected.

In this article