SwipeItem.CommandParameter Property

Definition

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

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItem.CommandParameter (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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 = swipeItem.commandParameter;
swipeItem.commandParameter = object;
Public Property CommandParameter As Object
<SwipeItem>
  <SwipeItem.CommandParameter>
    object
  </SwipeItem.CommandParameter>
</SwipeItem>
- or -
<SwipeItem CommandParameter="objectAsString"/>

Property Value

Object

Platform::Object

IInspectable

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

Applies to