Back to Devexpress

CustomMaskEventArgs.CurrentSelectionAnchor Property

wpf-devexpress-dot-xpf-dot-editors-dot-custommaskeventargs-15b88230.md

latest2.2 KB
Original Source

CustomMaskEventArgs.CurrentSelectionAnchor Property

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

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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:

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

See Also

ResultSelectionAnchor

IsSelection

CustomMaskEventArgs Class

CustomMaskEventArgs Members

DevExpress.Xpf.Editors Namespace