Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2370
XamRibbon -- MenuTool.ItemTemplate not entirely selectable
posted

Hello,

I want the entire area of the DataTemplate to be selectable/clickable.  I am putting ButtonTool items in the ItemTemplate and I have to click directly on the label to initiate the click.  There is some area on the left (probably for an image on each item or something) and some on top/bottom/right of the text where the click closes the MenuTool, but the Command/Event is not fired.  I have attached a sample showing this behavior. Just run the project and click Add in the ribbon.  What I really want is for the whole "yellow" area on the default theme that shows up on hover to be selectable/clickable.  My real project uses the Office2013 theme, so if you need to override a theme or something to get this to work, keep that in mind.  

Thanks!

Jon

TestMenuTool.zip