Skip to main content
All docs
V25.1
  • CustomTextMaskInputArgs.CurrentSelectedText Property

    Returns the currently selected editor text. To obtain the zero-based position of the first and last characters of a selection, use the CurrentSelectionStart and CurrentSelectionEnd properties.

    Namespace: DevExpress.Data.Mask

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public string CurrentSelectedText { get; }

    Property Value

    Type Description
    String

    The currently selected editor text. Returns String.Empty if no text is selected.

    Remarks

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

    Selection and Anchors

    See Also