Back to Devexpress

CustomMaskEventArgs.CurrentSelectionStart Property

wpf-devexpress-dot-xpf-dot-editors-dot-custommaskeventargs-0bfe74fb.md

latest2.0 KB
Original Source

CustomMaskEventArgs.CurrentSelectionStart Property

Gets the position of the left-most selected character.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int CurrentSelectionStart { get; }
vb
Public ReadOnly Property CurrentSelectionStart As Integer

Property Value

TypeDescription
Int32

The position of the left-most selected character.

|

Remarks

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

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

See Also

IsSelection

CustomMaskEventArgs Class

CustomMaskEventArgs Members

DevExpress.Xpf.Editors Namespace