TokenLookUpEditStyleSettings.EnableTokenWrapping Property
Gets or sets whether to enable token wrapping. This is a dependency property.
Namespace: DevExpress.Xpf.Grid.LookUp
Assembly: DevExpress.Xpf.Grid.v25.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
|
Remarks
If the EnableTokenWrapping
property is set to true
, tokens are arranged in multiple lines on overflow.
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
.
To facilitate access to selected items, do one of the following:
- Set the TextEditBase.VerticalScrollBarVisibility (via LookUpEdit.VerticalScrollBarVisibility) property to
Visible
orAuto
to allow users to navigate between tokens. - Set the LookUpEdit.Height property to
Auto
. In this case, the height of a combo box is adjusted according to the number of tokens.
See Also