Skip to main content
All docs
V24.1

CustomTextMaskInputArgs.ResultSelectionAnchor Property

Returns the selection anchor if user edits are accepted.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v24.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