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.Size Property

Gets or sets the container’s size. Use this property only to change the container’s height.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size Size { get; set; }

#Property Value

Type Description
Size

The control’s size.

#Remarks

You can use the Size.Height property to change the container’s height if the AccordionContentContainer.SizeMode property is set to Fixed. Set the AccordionContentContainer.SizeMode property to Stretch to stretch the container vertically so that it occupies all available empty space.

AccordionContentContainer is stretched horizontally to the AccordionControl‘s width, and therefore the control determines the container’s width.

See Also