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
120
ig:XamMenuItem - Moving CommnadParameters over from Button Commands?
posted

As a design-side development group member, I'm getting involved with a facelift for portions of an application and I would like to leverage the styling and themes that comes along with the Infragistics tools.  I'd like to convert the command bindings on some of our standard WPF controls to a model that works with Infragistics controls.

For example, we've got a Close button on a Tile that I'd like to convert to a ribbonbutton or a XamMenuItem, but the command bindings don't carry over.

<

 

 

Button x:Name="closeBtn" Content="X" Command="igTiles:Tile.CloseCommand" CommandParameter="{TemplateBinding Tile}" />

Is there a rule of thumb I can follow to convert Command and CommandParameter into CommandBinding or a CommandBindingConverter?  Or should I take a stepback and let the developers get to it when they get to it?

  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like that I am missing something in your scenario, so if this is still an issue for you, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.

     

    Feel free to write me if you have further questions.