ToolBarTray and ToolBar : ToolBar « Windows Presentation Foundation « C# / C Sharp






ToolBarTray and ToolBar

ToolBarTray and ToolBar
     

<Window x:Class="SimpleStyles.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="SimpleStyles"
  Background="#F8F8F8">
  <ScrollViewer>
    <WrapPanel>
      <HeaderedItemsControl Header="ToolBar">
        <StackPanel>
          <ToolBarTray>
            <ToolBar Grid.Row="1">
              <Button>Button</Button>
              <CheckBox>CheckBox</CheckBox>
              <TextBox>TextBox</TextBox>
            </ToolBar>
          </ToolBarTray>
        </StackPanel>
      </HeaderedItemsControl>
   
    </WrapPanel>
  </ScrollViewer>
</Window>

   
    
    
    
    
  








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 in a ToolBarTrayToolBar in a ToolBarTray
7.ToolBar button with Customized paintingToolBar button with Customized painting
8.Display a ToolbarDisplay a Toolbar
9.ToolBar and Button, ToggleButton, ComboBox and SeparatorToolBar and Button, ToggleButton, ComboBox and Separator