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

    Gets the position of the right-most selected character.

    Namespace: DevExpress.Xpf.Editors

    Assembly: DevExpress.Xpf.Core.v25.1.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public int CurrentSelectionEnd { get; }

    Property Value

    Type Description
    Int32

    The position of the right-most selected character.

    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