<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Center" VerticalAlignment="Center">

<!-- Example 5-14. Using Header and Expander -->

<StackPanel Orientation="Horizontal">

  <GroupBox Header="Glass">
    <Border Margin="2" Background="White" Padding="3">
      <StackPanel>
        <RadioButton Content="Half-full" IsChecked="True" />
        <RadioButton Content="Half-empty" />
      </StackPanel>
    </Border>
  </GroupBox>

  <Expander Header="Glass" IsExpanded="True"
       Background="#def" VerticalAlignment="Center" MinWidth="90"
       Margin="10,0">
    <Border Margin="2" Background="White" Padding="3">
      <StackPanel>
        <RadioButton Content="Half-full" IsChecked="True" />
        <RadioButton Content="Half-empty" />
      </StackPanel>
    </Border>
  </Expander>

</StackPanel>

<!-- End of Example 5-14. -->

</Page>