Back to Devexpress

TextEditCustomHighlightTextEventArgs.HighlightRange Method

windowsforms-devexpress-dot-xtraeditors-dot-texteditcustomhighlighttexteventargs-dot-highlightrange.md

latest1.1 KB
Original Source

TextEditCustomHighlightTextEventArgs.HighlightRange Method

NameParametersDescription
HighlightRange(Int32, Int32, Action<TextEdit.Block>)startIndex, length, settingsHighlights or custom paints a text block at a specified position.
HighlightRange(Int32, Int32, Color, Color)startIndex, length, foreColor, backColorHighlights a text block at a specific position using custom foreground and background colors.
HighlightRange(Int32, Int32, Color)startIndex, length, foreColorHighlights a text block at a specified position using a custom foreground color.