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

See Also

Reference

RibbonEditBox Class

RibbonEditBox Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview