RoutedCommand コンストラクター

定義

RoutedCommand クラスの新しいインスタンスを初期化します。

オーバーロード

RoutedCommand()

RoutedCommand クラスの新しいインスタンスを初期化します。

RoutedCommand(String, Type)

指定した名前および所有者タイプで、RoutedCommand クラスの新しいインスタンスを初期化します。

RoutedCommand(String, Type, InputGestureCollection)

指定した名前、所有者型、およびジェスチャのコレクションを使用して、RoutedCommand クラスの新しいインスタンスを初期化します。

RoutedCommand()

RoutedCommand クラスの新しいインスタンスを初期化します。

public:
 RoutedCommand();
public RoutedCommand ();
Public Sub New ()

こちらもご覧ください

適用対象

RoutedCommand(String, Type)

指定した名前および所有者タイプで、RoutedCommand クラスの新しいインスタンスを初期化します。

public:
 RoutedCommand(System::String ^ name, Type ^ ownerType);
public RoutedCommand (string name, Type ownerType);
new System.Windows.Input.RoutedCommand : string * Type -> System.Windows.Input.RoutedCommand
Public Sub New (name As String, ownerType As Type)

パラメーター

name
String

シリアル化のための宣言名。

ownerType
Type

このコマンドを登録するタイプ。

例外

namenullです。

ownerTypenullです。

こちらもご覧ください

適用対象

RoutedCommand(String, Type, InputGestureCollection)

指定した名前、所有者型、およびジェスチャのコレクションを使用して、RoutedCommand クラスの新しいインスタンスを初期化します。

public:
 RoutedCommand(System::String ^ name, Type ^ ownerType, System::Windows::Input::InputGestureCollection ^ inputGestures);
public RoutedCommand (string name, Type ownerType, System.Windows.Input.InputGestureCollection inputGestures);
new System.Windows.Input.RoutedCommand : string * Type * System.Windows.Input.InputGestureCollection -> System.Windows.Input.RoutedCommand
Public Sub New (name As String, ownerType As Type, inputGestures As InputGestureCollection)

パラメーター

name
String

シリアル化のための宣言名。

ownerType
Type

このコマンドを登録する型。

inputGestures
InputGestureCollection

このコマンドに関連付けられた、既定の入力ジェスチャ。

例外

namenullです。

name の長さが 0 です。

- または -

ownerTypenullです。

こちらもご覧ください

適用対象