Share via


4.114 CommandBinding

x:Object > CommandBinding

(usage)

<CommandBinding />

(description)

Binds a RoutedCommand to the event handlers that implement the command.

(used by)

CommandBindingCollection

(properties)

Command

ICommand

(description)

The ICommand associated with this CommandBinding.

(events)

CanExecute

Occurs when the command associated with this CommandBinding initiates a check to determine whether the command can be executed on the command target.

Executed

Occurs when the command associated with this CommandBinding executes.

PreviewCanExecute

Occurs when the command associated with this CommandBinding initiates a check to determine whether the command can be executed on the current command target.

PreviewExecuted

Occurs when the command associated with this CommandBinding executes.