RichEditControl.UpdateUI Event

Raised when changes occur which may affect the control's UI.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.1.dll

Declaration

public event EventHandler UpdateUI
Public Event UpdateUI As EventHandler

Event Data

The UpdateUI event's data class is EventArgs.

Remarks

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.
TIP

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T258534.

Implements

DevExpress.Utils.Commands.ICommandAwareControl<DevExpress.XtraRichEdit.Commands.RichEditCommandId>.UpdateUI
See Also