Basic Library for UWP/WinRT XAML
SetCommand メソッド

添付プロパティの書き込み先の要素。
必要な System.Windows.Input.ICommand 値。
コマンドソースが起動されたときに実行されるコマンドを設定します。
構文
'宣言
 
Public Shared Sub SetCommand( _
   ByVal element As Windows.UI.Xaml.FrameworkElement, _
   ByVal value As System.Object _
) 
public static void SetCommand( 
   Windows.UI.Xaml.FrameworkElement element,
   System.object value
)

パラメータ

element
添付プロパティの書き込み先の要素。
value
必要な System.Windows.Input.ICommand 値。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

CommandExtensions クラス
CommandExtensions メンバ

Send Feedback