Skip to main content
A newer version of this page is available. .

BaseDockOptions.ShowMaximizeButton Property

Gets or sets whether the maximize button can be displayed within a dock panel’s caption.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool ShowMaximizeButton { get; set; }

Property Value

Type Default Description
Boolean true

true to allow the maximize button to be displayed within the caption of a dock panel; otherwise false.

Remarks

Set the ShowMaximizeButton property to false to prevent dock panels from being maximized by an end-user.

For more information on caption buttons, see the Header Buttons document.

See Also