Lingua

RoutedUICommand Costruttori

Definizione

Inizializza una nuova istanza della classe RoutedUICommand.

Overload

Nome Descrizione
RoutedUICommand()

Inizializza una nuova istanza della classe RoutedUICommand.

RoutedUICommand(String, String, Type)

Inizializza una nuova istanza della RoutedUICommand classe utilizzando il testo descrittivo, il nome dichiarato e il tipo di proprietario specificati.

RoutedUICommand(String, String, Type, InputGestureCollection)

Inizializza una nuova istanza della RoutedUICommand classe utilizzando il testo descrittivo specificato, il nome dichiarato, il tipo di proprietario e i movimenti di input specificati.

RoutedUICommand()

Inizializza una nuova istanza della classe RoutedUICommand.

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

Vedi anche

Si applica a

RoutedUICommand(String, String, Type)

Inizializza una nuova istanza della RoutedUICommand classe utilizzando il testo descrittivo, il nome dichiarato e il tipo di proprietario specificati.

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

Parametri

text
String

Testo descrittivo per il comando.

name
String

Nome dichiarato del comando per la serializzazione.

ownerType
Type

Tipo che registra il comando.

Eccezioni

name è null.

ownerType è null.

Vedi anche

Si applica a

RoutedUICommand(String, String, Type, InputGestureCollection)

Inizializza una nuova istanza della RoutedUICommand classe utilizzando il testo descrittivo specificato, il nome dichiarato, il tipo di proprietario e i movimenti di input specificati.

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

Parametri

text
String

Testo descrittivo per il comando.

name
String

Nome dichiarato del comando per la serializzazione.

ownerType
Type

Tipo che registra il comando.

inputGestures
InputGestureCollection

Raccolta di movimenti da associare al comando.

Eccezioni

name è null.

ownerType è null.

Vedi anche

Si applica a