Skip to main content
All docs
V25.1
  • CustomMaskEventArgs.CurrentSelectionAnchor Property

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

    Namespace: DevExpress.Xpf.Editors

    Assembly: DevExpress.Xpf.Core.v25.1.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