wpf-devexpress-dot-xpf-dot-core-dot-dropdownbuttonbase-72ce5706.md
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.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool? PopupAutoWidth { get; set; }
Public Property PopupAutoWidth As Boolean?
| Type | Description |
|---|---|
| Nullable<Boolean> |
true , if this DropDownButtonBase object’s popup should have the same width as the parent DropDownButtonBase object; otherwise, false.
|
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