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です。

こちらもご覧ください

適用対象