Back to Devexpress

RichEditControl.UpdateUI Event

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-c0ae2e9d.md

latest1.9 KB
Original Source

RichEditControl.UpdateUI Event

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
public event EventHandler UpdateUI
vb
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.

See Also

Commands in Rich Text Editor

How to: Bind a Command to a Button in the Rich Text Editor for WinForms

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace