更新:2007 年 11 月
定义一个命令
<TypeConverterAttribute("System.Windows.Input.CommandConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")> _ Public Interface ICommand
Dim instance As ICommand
[TypeConverterAttribute("System.Windows.Input.CommandConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")] public interface ICommand
[TypeConverterAttribute(L"System.Windows.Input.CommandConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")] public interface class ICommand
/** @attribute TypeConverterAttribute("System.Windows.Input.CommandConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null") */ public interface ICommand
public interface ICommand
<object property="predefinedCommandName"/>- 或 -<object property="predefinedCommandName.predefinedCommandName"/>- 或 -<object property="{x:Static customClassName.customCommandName}"/>
<object property="predefinedCommandName"/>
- 或 -
<object property="predefinedCommandName.predefinedCommandName"/>
<object property="{x:Static customClassName.customCommandName}"/>
RoutedCommand 和 RoutedUICommand 是 Windows Presentation Foundation (WPF) 中 ICommand 接口的两个实现。
Windows Vista