ToolBarTrayに2つのツールバーがあります。それらは1行に収めることができますが、私は各ツールバーを新しい行に入れたいと思います。 どうすればいいですか? MSDN: ToolBar.BandIndex PropertyからToolBarTray内の新しい行のツールバー
<ToolBarTray VerticalAlignment="Top" Margin="0,20,70,0" Height="65">
<ToolBar Height="30" VerticalAlignment="Top" Background="LightGray" >
<Label>Name :</Label>
<TextBox Width="120"></TextBox>
<ComboBox Width="120" Margin="5,0,0,0">
<ComboBoxItem>Item 1</ComboBoxItem>
<ComboBoxItem>Item 2</ComboBoxItem>
<ComboBoxItem>Item 3</ComboBoxItem>
</ComboBox>
<Button Height="25" Width="80" Background="White" Margin="5,0,0,0">Search</Button>
<Label>This is a first ToolBar</Label>
<Button Height="25" Width="80" Background="White" Margin="5,0,0,0" ToolBar.OverflowMode="Always">Look for ..</Button>
</ToolBar>
<ToolBar Height="30" VerticalAlignment="Top" Background="LightGray">
<Label>Name :</Label>
<TextBox Width="120"></TextBox>
<ComboBox Width="120" Margin="5,0,0,0">
<ComboBoxItem>Item 1</ComboBoxItem>
<ComboBoxItem>Item 2</ComboBoxItem>
<ComboBoxItem>Item 3</ComboBoxItem>
</ComboBox>
</ToolBar>
</ToolBarTray>