Skip to main content

CalcEditSettings.IsPopupAutoWidth Property

Gets or sets whether the dropdown’s width matches the width of the edit box. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool IsPopupAutoWidth { get; set; }

Property Value

Type Description
Boolean

true if the dropdown’s width matches the width of the edit box; otherwise, false.

Remarks

The dropdown’s width is specified by the PopupBaseEdit.PopupWidth property. If this property is not specified, use the IsPopupAutoWidth property to specify how the dropdown’s width is calculated when it is shown for the first time.

If the IsPopupAutoWidth property is set to true, the dropdown’s initial width matches the width of the edit box. If the IsPopupAutoWidth property is set to false, the dropdown’s width matches the width of its contents.

See Also