Back to Devexpress

TokenEdit.PopupAutoWidthCalculationLimit Property

windowsforms-devexpress-dot-xtraeditors-dot-tokenedit-279afffe.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static int PopupAutoWidthCalculationLimit { get; set; }
vb
Public Shared Property PopupAutoWidthCalculationLimit As Integer

Property Value

TypeDescription
Int32

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

|

See Also

TokenEdit Class

TokenEdit Members

DevExpress.XtraEditors Namespace