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

CustomTextMaskInputArgs.ToString() Method

Returns the transcript of a user edit in the following format: ‘(InitialState)->UserAction->(FinalState)’.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v22.1.dll

NuGet Package: DevExpress.Data

Declaration

public override string ToString()

Returns

Type Description
String

The transcript of a user edit.

Remarks

A transcript returned by the ToString method allows you to analyze what triggered this event. The format of this string includes the initial editor text, the user edit, and the outcome of this edit (if applied as is).

For example, if a text 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).

See Also