Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Adding more than one button to ToolBar?

$
0
0

hi there,

I want to place the following couple of button inside my ToolBar but I don't know how to proceed.

xaml:

<ToolBarTray  DockPanel.Dock="Left"  Margin="0,3,625,69"><ToolBar HorizontalAlignment="Left" VerticalContentAlignment="Bottom" Margin="10,0,0,-10" VerticalAlignment="Top" Height="600" Width="59"><ToolBar.ContextMenu><ContextMenu /></ToolBar.ContextMenu><StackPanel VerticalAlignment="Center" Width="59"><Button Content="opt1"></Button><Button Content="opt2"></Button></StackPanel></ToolBar></ToolBarTray>

A picture is worth a thousand words:

TIA,


Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>