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

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