ApplicationCommands.NotACommand Propriété

Définition

Représente une commande qui est toujours ignorée.

public:
 static property System::Windows::Input::RoutedUICommand ^ NotACommand { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand NotACommand { get; }
static member NotACommand : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property NotACommand As RoutedUICommand

Valeur de propriété

Commande.

Remarques

Cette commande est toujours ignorée et ne gère pas l’événement d’entrée qui l’a provoqué. Cela permet de désactiver une liaison d’entrée intégrée à un contrôle existant.

Il n’existe pas nécessairement d’implémentation pour la commande sur un objet donné ; dans de nombreux cas, l’implémentation de la commande est la responsabilité de l’enregistreur d’applications.

Utilisation des attributs XAML

<object property="NotACommand"/>

S’applique à

Voir aussi