Dela via


SwipeControl.TopItems Property

Definition

Gets or sets the items that can be invoked when the control is swiped from the top down.

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

SwipeItems TopItems();

void TopItems(SwipeItems value);
public SwipeItems TopItems { get; set; }
var swipeItems = swipeControl.topItems;
swipeControl.topItems = swipeItems;
Public Property TopItems As SwipeItems
<SwipeControl>
  <SwipeControl.TopItems>
    oneOrMoreSwipeItemDefinitions
  </SwipeControl.TopItems>
</SwipeControl>

Property Value

The items that can be invoked when the control is swiped from the top down.

Applies to