Back to Devexpress

TokenEdit.CloseTextEditor(Boolean) Method

windowsforms-devexpress-dot-xtraeditors-dot-tokenedit-dot-closetexteditor-x28-system-dot-boolean-x29.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void CloseTextEditor(
    bool resetText
)
vb
Public Overridable Sub CloseTextEditor(
    resetText As Boolean
)

Parameters

NameTypeDescription
resetTextBoolean

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

ActivateTextEditor()

IsTextEditorActive

TokenEdit Class

TokenEdit Members

DevExpress.XtraEditors Namespace