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

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

NuGet Package: DevExpress.Wpf.Grid.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, tokens are arranged in multiple lines on overflow.

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

  • Set the TextEditBase.VerticalScrollBarVisibility (via LookUpEdit.VerticalScrollBarVisibility) property to Visible or Auto. This way a user will be able to navigate the tokens.
  • Set the LookUpEdit.Height property to Auto. In this case, the height of a combo box will be adjusted according to the number of tokens.
See Also