TextEditCustomHighlightTextEventArgs.HighlightRange(Int32, Int32, Color, Color) Method
In This Article
Highlights a text block at a specific position using custom foreground and background colors.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
start |
Int32 | A zero-based start index of the target text block. |
length | Int32 | The length of the text block. |
fore |
Color | A custom foreground color used to paint the text block. |
back |
Color | A custom background color to paint the text block. |
See Also