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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace