Top "Routed-commands" questions

WPF: Defines a command that implements ICommand and is routed through the element tree.

Boolean CommandParameter in XAML

I have this code (which works just right): <KeyBinding Key="Enter" Command="{Binding ReturnResultCommand}"> <KeyBinding.CommandParameter> &…

wpf xaml routed-commands
ICommand vs RoutedCommand

Let's have a button Command property bound to a custom command. When should I implement ICommand and when derive from …

wpf mvvm icommand routed-commands
WPF Commands, How to declare Application level commands?

I'm interested in creating commands that are available from anywhere in my WPF application. I'd like them to work in …

wpf routed-commands
Implement custom Copy and Paste in WPF DataGrid which works when there are no rows in it

I need to implement a custom copy + cut + paste for data (not text or CSV) to be copied between grids …

c# wpf wpfdatagrid commandbinding routed-commands
How to bind ApplicationCommands to a ViewModel?

I have successfully used a few custom commands using MVVM-Light, but I want my application to respond to the standard …

wpf mvvm routed-commands
Loopback in Route table

I and working on a project to create a WAN emulator using FreeBDS in a VMWare guest configured to route …

windows-7 vmware routes routed-commands loopback-address
How do I programmatically fire a command

I have an ICommand that I want to fire (make the execute go) from code; how do I do this?

c# wpf xaml routed-commands
WPF using custom RoutedUICommands or simple event handlers?

I was talking to someone today about picking a design pattern for how to handle logic in their WPF program …

wpf xaml routed-commands
WPF prevent event bubbling outside of a control

Let's begin with the element tree. The topmost element is a WPF window which has registered ApplicationCommands.Find command. Some …

wpf events routed-commands