Skip to main content

CheckedTokenComboBoxStyleSettings.EnableTokenWrapping Property

Gets or sets a value that specifies whether token wrapping is enabled. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v25.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool? EnableTokenWrapping { get; set; }

Property Value

Type Description
Nullable<Boolean>

true to enable token wrapping; otherwise, false.

Remarks

If the EnableTokenWrapping property is set to true and the width of a ComboBoxEdit is insufficient to fit all selected tokens on one line, newly selected tokens appear on a new line.

Note

Enabling the EnableTokenWrapping property hides the drop-down button Dropdown Button.

If you need to display the dropdown button, set the ButtonEdit.AllowDefaultButton (via ComboBoxEdit.AllowDefaultButton) property to true.

To facilitate access to selected items, do one of the following:

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableTokenWrapping property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also