Skip to main content

TokenEdit.PopupAutoWidthCalculationLimit Property

When the RepositoryItemTokenEdit.DropDownShowMode property is set to Outlook, the drop-down menu width is calculated according to the widest token available. The PopupAutoWidthCalculationLimit property allows the Token Edit to check only first N tokens when it calculates the required menu width. This limitation speeds up the calculation process and improves the control performance.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static int PopupAutoWidthCalculationLimit { get; set; }

Property Value

Type Description
Int32

The number of tokens whose widths the editor should check before it chooses the required drop-down menu width.

See Also