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

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