System.Windows.Controlsの紹介 - Expander

XAML

<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Expander" Height="200" Width="200"
    >
    <StackPanel>
        <Expander Margin="10" Padding="5" Background="LightBlue" IsExpanded="True" Header="PowerTools">
            <StackPanel>
                <TextBlock Text="ActiveReports"/>
                <TextBlock Text="SPREAD"/>
                <TextBlock Text="InputMan"/>
            </StackPanel>
        </Expander>
    </StackPanel>
</Window>