Skip to main content
All docs
V23.2

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.v23.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