共用方式為


RibbonComboBox.TextChanged Event

Definition

Occurs when a user changes the text in the RibbonComboBox.

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

Event Type

Remarks

The RibbonComboBox raises this event when a user presses the ENTER key after changing the text, when the user moves the input focus to another control after changing the text, or when the user selects an item in the list that is different from the text that is currently displayed. It is not raised when the text is changed by assigning a new value to the Text property.

Applies to