Skip to main content

RichEditControl.UpdateUI Event

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

Declaration

public event EventHandler UpdateUI

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.
See Also