Skip to main content

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