RibbonComboBox.TextChanged Event (2007 System)
Occurs when a user changes the text in the RibbonComboBox.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
<RibbonEventAttribute("onChange")> _
Public Event TextChanged As EventHandler(Of RibbonControlEventArgs)
'Usage
Dim instance As RibbonComboBox
Dim handler As EventHandler(Of RibbonControlEventArgs)
AddHandler instance.TextChanged, handler
[RibbonEventAttribute("onChange")]
public event EventHandler<RibbonControlEventArgs> TextChanged
[RibbonEventAttribute(L"onChange")]
public:
event EventHandler<RibbonControlEventArgs^>^ TextChanged {
void add (EventHandler<RibbonControlEventArgs^>^ value);
void remove (EventHandler<RibbonControlEventArgs^>^ value);
}
JScript does not support events.
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.
.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