Click or drag to resize
StackPanel

The StackPanel is a group of panel stacked on one another.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

id

unique identifier for this group of panels

Child elements

Name

Description

acs:Panel

A panel in the group

Parent elements

Element

Description

any xhtml or xsl tag

Styling information

The XHTML structure created by the acs:StackPanel is the following:

<div id="{@id}" class="stackPanel">
  <ul>
    <li class="acs-stack-header">
      <span id="{@id}-stackbutton-{position}" class="button">
        @label
      </span>
    </li>
    <li id="{@id}-stack-{position}" class="stack">
      <!-- panel content -->
    </li>
  </ul>
</div>
Examples
<acs:StackPanel id="mystack">
  <acs:Panel label="My first panel">
    This is the first panel of the stack
  </acs:Panel>
  <acs:Panel label="My second panel">
    This is the second panel of the stack
  </acs:Panel>
</acs:StackPanel>