Skip to main content
A newer version of this page is available. .
All docs
V22.2

CustomMaskEventArgs.CurrentSelectionEnd Property

Gets the position of the right-most selected character.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v22.2.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