AccordionContentContainer.SizeMode Property
Gets or sets whether the current container is stretched vertically to occupy the Accordion Control’s available empty space.
Namespace: DevExpress.XtraBars.Navigation
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Accordion |
Fixed | A value that specifies whether the current container is stretched vertically to occupy the Accordion Control’s empty space. |
Available values:
Name | Description |
---|---|
Fixed | A content container has a fixed height, specified by the Accordion |
Stretch | A content container is stretched vertically to occupy the control’s empty space. You can use the Accordion |
#Remarks
Set the SizeMode property to AccordionContentContainerSizeMode.Stretch to stretch the container vertically, so it occupies the Accordion Control’s available empty space.
If two or more containers have their SizeMode properties set to Stretch, they have equal shares of the available empty space.
The AccordionContentContainer.MinimumSize and AccordionContentContainer.MaximumSize properties allow you to specify the minimum and maximum height for a container in Stretch mode.