Share via


SwipeItems.ReplaceAll(SwipeItem[]) Method

Definition

Initially clears the collection, then inserts the provided array as new items.

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

void ReplaceAll(winrt::array_view <SwipeItem const&> const& items);
public void ReplaceAll(SwipeItem[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As SwipeItem())

Parameters

items
SwipeItem[]

The new collection items.

Implements

Applies to