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

CustomTextMaskInputArgs.SetResult(String, String) Method

Sets the final editor text and cursor position.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v22.1.dll

NuGet Package: DevExpress.Data

Declaration

public void SetResult(
    string newHead,
    string newTail
)

Parameters

Name Type Description
newHead String

The part of the editor text that precedes the caret (cursor).

newTail String

The part of the editor text that follows the caret (cursor).

Remarks

After you have checked the current editor text (CurrentEditText) and the edit a user attempts to perform (ResultEditText), call the SetResult method to set the final editor text.

See Also