Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AccordionContentContainer.MaximumSize Property

Gets or sets the container’s maximum size.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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