RibbonDropDown.SelectionChanged Event

Definition

Occurs when a user selects a new item on a Ribbon drop-down control.

C#
event Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler SelectionChanged;

Event Type

Remarks

The SelectionChanged event is raised only when the selected item changes, and not in the following circumstances:

  • When the user selects the item that was already selected.

  • When a user clicks a button.

  • When you assign a new value to the SelectedItem or SelectedItemIndex properties in your code.

Applies to

Product Versions
Visual Studio Tools for Office 2017, 2019, 2022