Raised when changes occur which may affect the control’s UI.
The UpdateUI event's data class is EventArgs.
This event occurs:
- When the control gets focus or the focus is lost;
- When the current selection is changed;
- When the document content is changed;
- When its status (modified or read-only) is modified.