Skip to main content
All docs
V23.2

CustomMaskEventArgs.CurrentSelectionAnchor Property

Gets the selection start point before a user performs an action.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public int CurrentSelectionAnchor { get; }

Property Value

Type Description
Int32

The selection start point before a user performs an action.

Remarks

The following image shows values of the CurrentSelectedText, CurrentSelectionStart, CurrentSelectionEnd, and CurrentSelectionAnchor properties:

CustomMask Event - Text Selection

If the editor does not contain selected text, the CurrentSelectionStart, CurrentSelectionEnd, and CurrentSelectionAnchor properties return the CurrentCursorPosition property value.

See Also