Skip to main content
A newer version of this page is available. .
All docs
V22.1

CustomTextMaskInputArgs.CurrentTail Property

Returns the current editor text that follows the cursor position or selected text.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v22.1.dll

NuGet Package: DevExpress.Data

Declaration

public string CurrentTail { get; }

Property Value

Type Description
String

The current editor text that follows the cursor position or selected text.

Remarks

The image below illustrates the return values of Head and Tail properties in different scenarios.

Head and Tail

You can pass new Head and Tail values into the SetResult(String, String) method to set up the final editor text.

// Result: "AAA|BBB", "|" indicates the cursor position
args.SetResult("AAA", "BBB");
See Also