TextEditCustomHighlightTextEventArgs.HighlightRange(Int32, Int32, Action<TextEdit.Block>) Method
In This Article
Highlights or custom paints a text block at a specified position.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public void HighlightRange(
int startIndex,
int length,
Action<TextEdit.Block> settings
)
#Parameters
Name | Type | Description |
---|---|---|
start |
Int32 | A zero-based start index of the target text block. |
length | Int32 | The length of the text block. |
settings | Action<Text |
Allows you to specify display settings or a custom painter for the text block. |
See Also