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

CustomTextMaskInputArgs.ResultSelectionAnchor Property

Returns the selection anchor if user edits are accepted.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v22.1.dll

NuGet Package: DevExpress.Data

Declaration

public int? ResultSelectionAnchor { get; }

Property Value

Type Description
Nullable<Int32>

The final selection anchor if user edits are accepted.

Remarks

The figure below illustrates how CurrentSelectedText, CurrentSelectionStart, CurrentSelectionEnd, and CurrentSelectionAnchor properties are interconnected.

Selection and Anchors

The ResultSelectionAnchor property allows you to get how the CurrentSelectionAnchor property changes if user edits are accepted. You can specify the third parameter of the SetResult method to change this final anchor position.

See Also