Accordion > Accordion Task-Based Help > Filling Out the Accordion Height |
The default behavior of an accordion pane (C1AccordionItem) is to fill only to the height (for accordions that expand up or down) or width (for accordions that expand right or left) of its contents. If you want the C1Accordion control to fill to a specific height or width, you will have to set the height or width of the control and then set the control's C1Accordion.Fill property to True.
At Design Time in Design view
To set the Fill property in Design view, complete the following steps:
In the Properties window, complete the following:
In XAML
To set the C1Accordion.Fill property to True in XAML, complete the following:
XAML Copy Code <c1ext:C1Accordion Name="C1Accordion1" Fill="True">
XAML Copy Code <c1ext:C1Accordion Name="C1Accordion1" Fill="True" Height="200">
In Code
To set the C1Accordion.Fill property in code, complete the following steps:
Visual Basic Copy Code C1Accordion1.Fill = True
C# Copy Codec1Accordion1.Fill = true;