MenuFlyoutItem.CommandParameter Property

Definition

Gets or sets the parameter to pass to the Command property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.MenuFlyoutItem.CommandParameter.

public:
 property Platform::Object ^ CommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable CommandParameter();

void CommandParameter(IInspectable value);
public object CommandParameter { get; set; }
var object = menuFlyoutItem.commandParameter;
menuFlyoutItem.commandParameter = object;
Public Property CommandParameter As Object
<MenuFlyoutItem>
  <MenuFlyoutItem.CommandParameter>
    object
  </MenuFlyoutItem.CommandParameter>
</MenuFlyoutItem>

Property Value

Object

IInspectable

The parameter to pass to the Command property. The default is null.

Applies to