Skip to main content
All docs
V25.1
  • 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.1.dll

    NuGet Package: 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