Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public override string ToString()

#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.

See Also