<Border Grid.Row="1" BorderBrush="#B5B5B5" BorderThickness="0 1 0 0">
<Grid Background="#E8E8E8" Margin="0 1 0 0" Name="CenterGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="160"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel>
<sdk:Label Height="26" Background="#b5b5b5" Margin="0 6 0 6"
FontWeight="Bold" FontSize="12" x:Name="lblMenuText"
HorizontalAlignment="Center" Width="160" />
<ListBox SelectionChanged="left_panel_SelectionChanged"
ItemContainerStyle="{StaticResource ListBoxItemStyleNew}"
Grid.Column="0" x:Name="left_panel" Background="#E8E8E8" BorderThickness="0">
<ListBox.ItemTemplate>
<DataTemplate>
<ContentPresenter Content="{Binding MenuName}"></ContentPresenter>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
<sdk:TabControl x:Name="tbControl" SelectionChanged="tbControl_SelectionChanged"
Grid.Column="1" Margin="0 6 0 0">
</sdk:TabControl>
</Grid>
</Border>
其中Label控件显示的为顶部菜单的标题,标志着当前选中的是哪个顶部菜单
ListBox为子菜单控件
TabControl为业务画面区域
四:子菜单区域
子菜单样式相对复杂些
样式代码如下