Skip to main content
All docs
V24.1

CustomTextMaskInputArgs.SetResult(String, String) Method

Sets the final editor text and cursor position.

Namespace: DevExpress.Data.Mask

Assembly: DevExpress.Data.v24.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