Back to Devexpress

TextEdit.UpdateTextHighlight() Method

windowsforms-devexpress-dot-xtraeditors-dot-textedit-c91ff67a.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void UpdateTextHighlight()
vb
Public Sub 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

CustomHighlightText

CustomHighlightText

TextEdit Class

TextEdit Members

DevExpress.XtraEditors Namespace