Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TokenComboBoxStyleSettings.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.v24.2.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 ComboBox does not allow all selected tokens to fit on one line, newly selected tokens will appear on a new line.

ComboboxTokenWrapping

Note

Enabling token wrapping also hides the dropdown button Dropdown Button.

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

Tip

You can use the LookUpEditBase.AutoComplete (via ComboBoxEdit.AutoComplete) property to activate the autocomplete feature. When the autocomplete feature is turned on, a combo box displays suggestions based on the entered text.

To provide easier access to selected items, do one of the following.

See Also