Skip to main content
A newer version of this page is available. .

RichEditControl.UpdateUI Event

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v20.2.dll

NuGet Package: DevExpress.Win.RichEdit

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.

Tip

A complete sample project is available in the DevExpress Code Examples database at https://supportcenter.devexpress.com/ticket/details/t258534/richeditcontrol-event-viewer.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UpdateUI event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also