RoutedCommand Konstruktorok

Definíció

Inicializálja a RoutedCommand osztály új példányát.

Túlterhelések

Name Description
RoutedCommand()

Inicializálja a RoutedCommand osztály új példányát.

RoutedCommand(String, Type)

Inicializálja az RoutedCommand osztály új példányát a megadott névvel és tulajdonostípussal.

RoutedCommand(String, Type, InputGestureCollection)

Inicializálja az RoutedCommand osztály új példányát a megadott névvel, tulajdonostípussal és kézmozdulatok gyűjteményével.

RoutedCommand()

Inicializálja a RoutedCommand osztály új példányát.

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

Lásd még

A következőre érvényes:

RoutedCommand(String, Type)

Inicializálja az RoutedCommand osztály új példányát a megadott névvel és tulajdonostípussal.

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)

Paraméterek

name
String

A szerializálás deklarált neve.

ownerType
Type

A parancsot regisztráló típus.

Kivételek

name az null.

ownerType az null.

Lásd még

A következőre érvényes:

RoutedCommand(String, Type, InputGestureCollection)

Inicializálja az RoutedCommand osztály új példányát a megadott névvel, tulajdonostípussal és kézmozdulatok gyűjteményével.

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)

Paraméterek

name
String

A szerializálás deklarált neve.

ownerType
Type

A parancsot regisztráló típus.

inputGestures
InputGestureCollection

A parancshoz társított alapértelmezett beviteli kézmozdulatok.

Kivételek

name az null.

a hossz name nulla

-vagy-

ownerType az null.

Lásd még

A következőre érvényes: