Share via


SwipeItem.CommandParameter Propriété

Définition

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

API WinUI 2 équivalente pour UWP : Microsoft.UI.Xaml.Controls.SwipeItem.CommandParameter (pour WinUI dans le SDK d'application Windows, consultez les espaces de noms SDK d'application Windows).

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"/>

Valeur de propriété

Object

Platform::Object

IInspectable

Paramètre à passer à la propriété Command. La valeur par défaut est null.

S’applique à