Skip to main content
All docs
V24.2

AccordionContentContainer.MaximumSize Property

Gets or sets the container’s maximum size.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public override Size MaximumSize { get; set; }

Property Value

Type Description
Size

The container’s maximum size.

Remarks

Use the MaximumSize and AccordionContentContainer.MinimumSize properties to set size constraints on the container.

In Stretch mode, the container is stretched to the control’s height. You can set the MaximumSize.Height and/or MinimumSize.Height property to prevent the container from extending/shrinking beyond a specific value.

If the Width or Height field of the MaximumSize property is set to 0, the maximum width/height is not limited.

See Also