Skip to main content
A newer version of this page is available. .

TokenEdit.CloseTextEditor(Boolean) Method

Moves focus away from this TokenEdit‘s text box and optionally removes the last entered text.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public virtual void CloseTextEditor(
    bool resetText
)

Parameters

Name Type Description
resetText Boolean

true, if the last entered text should be removed; otherwise, false.

Remarks

The TokenEdit.ActivateTextEditor and CloseTextEditor methods allow you to manually activate or deactivate the TokenEdit‘s text box. To check whether this text box is currently active, use the TokenEdit.IsTextEditorActive property.

See Also