ToolBar in a ToolBarTray : ToolBar « Windows Presentation Foundation « C# / C Sharp






ToolBar in a ToolBarTray

ToolBar in a ToolBarTray
    

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      HorizontalAlignment="Stretch" VerticalAlignment="Top">
    <ToolBarTray>
      <ToolBar>
        <Button>Second toolbar</Button>
        <CheckBox IsChecked="True">Choice</CheckBox>
      </ToolBar>
    </ToolBarTray>
</Page>

   
    
    
    
  








Related examples in the same category

1.ToolBar.ButtonStyleKeyToolBar.ButtonStyleKey
2.Compare the appearances of these controls with the ones in the ToolBar.Compare the appearances of these controls with the ones in the ToolBar.
3.Toolbar TraysToolbar Trays
4.Basic ToolbarBasic Toolbar
5.ToolBarTrayToolBarTray
6.ToolBar button with Customized paintingToolBar button with Customized painting
7.ToolBarTray and ToolBarToolBarTray and ToolBar
8.Display a ToolbarDisplay a Toolbar
9.ToolBar and Button, ToggleButton, ComboBox and SeparatorToolBar and Button, ToggleButton, ComboBox and Separator