Raised when changes occur which may affect the control’s UI.
NuGet Package: DevExpress.Win.RichEdit
The UpdateUI event's data class is EventArgs.
This event signalizes that Bar or Ribbon user interface is updated to reflect changes in the control’s state. Certain commands may change their state from enabled to disabled, from visible to hidden and vice versa.
The UpdateUI event occurs in the following situations:
- When the control gets focus or the focus is lost;
- When the current selection is changed;
- When the content of the control is changed;
- When its status (modified or read-only) is modified.
A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/t258534/richeditcontrol-event-viewer.