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
550
CommandParameter issue on ButtonTool
posted
Is the CommandParameter on a ButtonTool implemented? I have the following code which normally works finre from a button but from a ButtonTool is passes nothing in the CommandParameter. igRibbon:ButtonTool Caption="Contacts" igRibbon:RibbonGroup.MaximumSize="ImageAndTextLarge" SmallImage="Images/Pngs/16x16/UserGroup.png" LargeImage="Images/Pngs/32x32/UserGroup.png" Command="appCmds:AppCommands.CustomersPage" CommandParameter="{x:Type localPages:CustomersPage}"
Parents
No Data
Reply
  • 54937
    Offline posted

    The ButtonTool derives from ButtonBase which provides the ICommandSource properties such as CommandParameter so that should work just fine. Perhaps the issue is related to being in a different focusscope, does the same code work if you use the Button class in a toolbar? I would probably recommand submitting a sample that shows the problem to the support group so we can look into the issue.

Children