Compartilhar via


RibbonDropDown.SelectionChanged Event

Definition

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

public:
 event Microsoft::Office::Tools::Ribbon::RibbonControlEventHandler ^ SelectionChanged;
event Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler SelectionChanged;
member this.SelectionChanged : Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler 
Event SelectionChanged As RibbonControlEventHandler 

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