Düzenle

Aracılığıyla paylaş


MenuItem.CommandParameter Property

Definition

Gets or sets the parameter to pass to the Command property of a 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

Property Value

The parameter to pass to the Command property of a MenuItem. The default is null.

Attributes

Remarks

Dependency Property Information

Identifier field CommandParameterProperty
Metadata properties set to true None

Applies to