MenuItem::CommandParameter Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the parameter to pass to the Command property of a MenuItem.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
[BindableAttribute(true)]
[LocalizabilityAttribute(LocalizationCategory::NeverLocalize)]
property Object^ CommandParameter {
	virtual Object^ get() sealed;
	virtual void set(Object^ value) sealed;
}

Property Value

Type: System::Object^

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

Identifier field

CommandParameterProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: