views:

82

answers:

2

Is it possible to create a button with a drop down, or a combobox that has the dropdown arrow along the bottom as opposed to the right hand side? I am trying to emulate the "Paste" button in the Word 2010 ribbon.

A: 

Here is a small sample that you get the right idea how to accomplish that. But it's not the word like button:

http://www.tanguay.info/web/index.php?pg=codeExamples&id=140

MUG4N
Hi @MUG4N, I found that, but it doesnt seem to work. Popup has no "PlacementTarget" property, not sure if thats silverlight 4.
Ben
A: 

I've used it with success, but only on the right-side.

http://blogs.msdn.com/b/delay/archive/2010/06/11/splitbuttoning-hairs-two-fixes-for-my-silverlight-splitbutton-menubutton-implementation-and-true-wpf-support.aspx

However it is customizable to the point where you may manipulate the _contextMenu.HorziontalOffset and _contextMenu.VerticalOffset to your liking.

rob