Skip to main content
A newer version of this page is available. .
All docs
V21.2

TextEdit.UpdateTextHighlight() Method

Forces the control to update its text highlight and custom painting that you perform with the TextEdit.CustomHighlightText and RepositoryItemTextEdit.CustomHighlightText events.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

public void UpdateTextHighlight()

Remarks

The TextEdit.CustomHighlightText and RepositoryItemTextEdit.CustomHighlightText events allow you to highlight text blocks, and replace text blocks with custom graphics. The UpdateTextHighlight method forces the control to raise the CustomHighlightText events and redraw its contents.

See Also