MenuItem.CommandParameter Propriété

Définition

Obtient ou définit le paramètre à transmettre à la propriété Command d'un MenuItem.

public:
 property System::Object ^ CommandParameter { System::Object ^ get(); void set(System::Object ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)]
public object CommandParameter { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Windows.Localizability(System.Windows.LocalizationCategory.NeverLocalize)>]
member this.CommandParameter : obj with get, set
Public Property CommandParameter As Object

Valeur de propriété

Object

Paramètre à transmettre à la propriété Command d'un MenuItem. La valeur par défaut est null.

Attributs

Remarques

Informations sur les propriétés de dépendance

Champ d’identificateur CommandParameterProperty
Propriétés de métadonnées définies sur true Aucun

S’applique à