Sdílet prostřednictvím


SwipeItem.IconSource Property

Definition

Gets or sets the graphic content of the item.

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

public:
 property IconSource ^ IconSource { IconSource ^ get(); void set(IconSource ^ value); };
IconSource IconSource();

void IconSource(IconSource value);
public IconSource IconSource { get; set; }
var iconSource = swipeItem.iconSource;
swipeItem.iconSource = iconSource;
Public Property IconSource As IconSource
<SwipeItem>
  <SwipeItem.IconSource>
    iconSourceElement
  </SwipeItem.IconSource>
</SwipeItem>

Property Value

The graphic content of the item. The default is null.

Applies to