Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommandBinding Constructor (ICommand)


Initializes a new instance of the CommandBinding class by using the specified ICommand.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public CommandBinding(
	ICommand command


Type: System.Windows.Input.ICommand

The command to base the new RoutedCommand on.

.NET Framework
Available since 3.0
Return to top
© 2017 Microsoft