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.v25.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
|
Remarks
If the EnableTokenWrapping
property is set to true
and the width of a ComboBoxEdit does not allow all selected tokens to fit on one line, newly selected tokens will appear on a new line.
Note
Enabling the EnableTokenWrapping
property hides the dropdown button .
If you need to display the dropdown button, 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 facilitate access to selected items, do one of the following:
- Set the TextEditBase.VerticalScrollBarVisibility (via ComboBoxEdit.VerticalScrollBarVisibility) property to
Visible
orAuto
to allow user to navigate between tokens. - Set the ComboBoxEdit.Height property to
Auto
. In this case, the height of a combo box is adjusted according to the number of tokens.