I have my ContextMenu set up how i want it. Where do i put the InputBindings and Keybindings xaml to function inside the XamDataPresenter control?
Something like (for Cut:
<igDP:XamDataPresenter.InputBindings> <KeyBinding Key="X" Modifiers="Ctrl" Command="{Binding Path=CutCommand}"/> //what do put here-this binding doesn't work </igDP:XamDataPresenter .InputBindings>
<igDP:XamDataPresenter.InputBindings> <KeyBinding Key="X" Modifiers="Ctrl"
/> //what do put here-this binding doesn't work </
igDP:XamDataPresenter
.InputBindings>
Hello,
Thank you for your post. I have been looking into it and I suggest you create Instances of the Commands in your Window’s Resources and bind the KeyBinding’s Command to these instance through the StaticResources. Please let me know if this helps you or you need further clarifications on this matter.
Looking forward for your reply.
could you give a little more info on how to do that or an example?