Use Expander : Expander « Windows Presentation Foundation « VB.Net Tutorial






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

<StackPanel Orientation="Horizontal">
  <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>
</Page>
WPF Use Expander








16.46.Expander
16.46.1.Display Content in an ExpanderDisplay Content in an Expander
16.46.2.Multi Direction ExpandersMulti Direction Expanders
16.46.3.Use ExpanderUse Expander
16.46.4.Use the Expander control and set the ExpandDirection propertyUse the Expander control and set the ExpandDirection property