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

DropDownButtonBase.PopupAutoWidth Property

Gets or sets whether this DropDownButtonBase object’s popup should have the same width as the DropDownButtonBase object itself. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public bool? PopupAutoWidth { get; set; }

#Property Value

Type Description
Nullable<Boolean>

true, if this DropDownButtonBase object’s popup should have the same width as the parent DropDownButtonBase object; otherwise, false.

#Remarks

The DropDownButtonBase object’s pop-up can be sized manually by utilizing the DropDownButtonBase.PopupWidth and DropDownButtonBase.PopupHeight properties. To limit the popup panel’s width and height, use the DropDownButtonBase.PopupMinWidth/DropDownButtonBase.PopupMaxWidth and DropDownButtonBase.PopupMinHeight/DropDownButtonBase.PopupMaxHeight property pairs.

If the PopupAutoWidth property equals true, all other properties that specify the popup width will be ignored and the popup will be sized automatically to fit the width of its parent DropDownButtonBase object.

See Also