Back to Devexpress

DropDownButtonBase.PopupAutoWidth Property

wpf-devexpress-dot-xpf-dot-core-dot-dropdownbuttonbase-72ce5706.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool? PopupAutoWidth { get; set; }
vb
Public Property PopupAutoWidth As Boolean?

Property Value

TypeDescription
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

PopupWidth

PopupMinWidth

PopupMaxWidth

DropDownButtonBase Class

DropDownButtonBase Members

DevExpress.Xpf.Core Namespace