ToolBarTray

<ToolBarTray DockPanel.Dock="Top">
<ToolBar ToolBarTray.IsLocked="True">
<Button Name="btnNew" Click="btnNew_Click">
<StackPanel Orientation="Horizontal">
<Image Source="/Images/16/realvista_general_add_16.png"/>
<TextBlock Text="New"></TextBlock>
</StackPanel>
</Button>
<Button Name="btnEdit" IsEnabled="False" Click="btnEdit_Click">
<StackPanel Orientation="Horizontal">
<Image Source="/Images/16/realvista_general_delete_16.png"/>
<TextBlock Text="Edit"></TextBlock>
</StackPanel>
</Button>
<Button Name="btnDelete" IsEnabled="False" Click="btnDelete_Click">
<StackPanel Orientation="Horizontal">
<Image Source="/Images/16/realvista_general_delete_16.png"/>
<TextBlock Text="Delete"></TextBlock>
</StackPanel>
</Button>
</ToolBar>
</ToolBarTray>

posted @ 2014-01-23 18:56  quietwalk  阅读(740)  评论(0编辑  收藏  举报