Partager via


RibbonDropDown.SelectionChanged Event

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

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Event SelectionChanged As RibbonControlEventHandler
event RibbonControlEventHandler SelectionChanged

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.

.NET Framework Security

See Also

Reference

RibbonDropDown Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview