Skip to main content
All docs
V24.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.v24.2.dll

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