RibbonEditBox.TextChanged Event (2007 System)
Occurs when a user changes the text in the RibbonEditBox.
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 RibbonEditBox
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 RibbonEditBox raises this event when a user presses the ENTER key after changing the text, or after 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 programmatically.
.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