CommandBinding Constructor (ICommand, ExecutedRoutedEventHandler)

 

Initializes a new instance of the CommandBinding class by using the specified ICommand and the specified Executed event handler.

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

Public Sub New (
	command As ICommand,
	executed As ExecutedRoutedEventHandler
)

Parameters

command
Type: System.Windows.Input.ICommand

The command to base the new RoutedCommand on.

executed
Type: System.Windows.Input.ExecutedRoutedEventHandler

The handler for the Executed event on the new RoutedCommand.

.NET Framework
Available since 3.0
Return to top
Show: