This topic lists the events specific for the RadComboBox control and it shows how to subscribe to an event.

Telerik UI for WPF Ninja image

The Events is part of Telerik UI for WPF, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

Subscribing to Event

Subcribing to an event can be done in Xaml or in code behind.

Example 1: Subscribing to an event in Xaml

<telerik:RadComboBox x:Name="radComboBox" DropDownOpened="RadComboBox_DropDownOpened" /> 

Example 2: Subscribing to an event in code

 this.radComboBox.DropDownOpened += RadComboBox_DropDownOpened; 


  • DropDownOpened: Occurs when the drop-down list of the combobox opens.

    Example 3: DropDownOpened event handler

        private void RadComboBox_DropDownOpened(object sender, EventArgs e) 
            var radComboBox = (RadComboBox)sender; 
  • DropDownClosed: Occurs when the drop-down list of the combobox closes.

    Example 4: DropDownClosed event handler

        private void RadComboBox_DropDownClosed(object sender, EventArgs e) 
            var radComboBox = (RadComboBox)sender; 
  • SelectionChanged: Occurs when the selected item is changed. The event arguments are of type SelectionChangedEventArgs and expose the AddedItems and RemovedItems properties which contain the newly selected and the unselected items.

    Example 5: SelectionChanged event handler

        private void RadComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) 
            var radComboBox = (RadComboBox)sender; 
            IList selectedItems = e.AddedItems; 
            IList unselectedItems = e.RemovedItems; 

The SelectionChanged event is inherited from the Selector class.

See Also

In this article