System.Windows.Input.ICommand

Defines a command.

See Also: ICommand Members

Syntax

[System.Runtime.CompilerServices.TypeForwardedFrom("PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public interface ICommand

Remarks

System.Windows.Input.RoutedCommand and System.Windows.Input.RoutedUICommand are two implementations of the System.Windows.Input.ICommand interface in TLA#tla_winclient.

XAML Text Usage

<object property="predefinedCommandName"/>

- or -

<object property="predefinedCommandName.predefinedCommandName"/>

- or -

<object property="{x:Static customClassName.customCommandName}"/>

XAML Values

predefinedClassName

One of the predefined command classes.

predefinedCommandName

One of the predefined commands.

customClassName

A custom class that contains the custom command. Custom classes generally require an xlmns prefix mapping; see XAML Namespaces and Namespace Mapping.

customCommandName

A custom command.

Requirements

Namespace: System.Windows.Input
Assembly: System (in System.dll)
Assembly Versions: 4.0.0.0