CustomMaskEventArgs.ToString() Method
Gets the transcript of the user’s action in the following format: (InitialState)->UserAction->(FinalState)
.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Returns
Type | Description |
---|---|
String | The transcript of the user’s action. |
Remarks
A transcript returned by the ToString
method allows you to analyze what triggered this event. This string includes the initial editor text, the user action, and the result of this action.
For example, if the editor displays the "ABC"
string with a caret after the letter "B"
, and a user types "d"
, the ToString
method returns (AB|C)->Insert(d)->(ABd|C)
. If a user presses the Backspace
key instead, the resulting value is (AB|C)->Backspace->(A|C)
.
The !
transcript character stands for the selection anchor returned by the CurrentSelectionAnchor and ResultSelectionAnchor properties.