SwipeControl SwipeControl SwipeControl SwipeControl Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents a container that provides access to contextual commands through touch interactions.

public : class SwipeControl : ContentControl, ISwipeControlpublic class SwipeControl : ContentControl, ISwipeControlPublic Class SwipeControl Inherits ContentControl Implements ISwipeControl// You can use this class in JavaScript.
<SwipeControl .../>

Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited properties

Inherited events

Inherited methods

Constructors

SwipeControl() SwipeControl() SwipeControl() SwipeControl()

Prerelease. Initializes a new instance of the SwipeControl class.

public : SwipeControl()public SwipeControl()Public Sub New()// You can use this method in JavaScript.

Properties

BottomItems BottomItems BottomItems BottomItems

Prerelease. Gets or sets the items that can be invoked when the control is swiped from the bottom up.

public : SwipeItems BottomItems { get; set; }public SwipeItems BottomItems { get; set; }Public ReadWrite Property BottomItems As SwipeItems// You can use this property in JavaScript.
<SwipeControl>

  <SwipeControl.BottomItems>

    oneOrMoreSwipeItemDefinitions

  </SwipeControl.BottomItems>

</SwipeControl>

Value
SwipeItems SwipeItems SwipeItems SwipeItems

The items that can be invoked when the control is swiped from the bottom up.

BottomItemsProperty BottomItemsProperty BottomItemsProperty BottomItemsProperty

Prerelease. Identifies the BottomItems dependency property.

public : static DependencyProperty BottomItemsProperty { get; }public static DependencyProperty BottomItemsProperty { get; }Public Static ReadOnly Property BottomItemsProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the BottomItems dependency property.

LeftItems LeftItems LeftItems LeftItems

Prerelease. Gets or sets the items that can be invoked when the control is swiped from the left side.

public : SwipeItems LeftItems { get; set; }public SwipeItems LeftItems { get; set; }Public ReadWrite Property LeftItems As SwipeItems// You can use this property in JavaScript.
<SwipeControl>

  <SwipeControl.LeftItems>

    oneOrMoreSwipeItemDefinitions

  </SwipeControl.LeftItems>

</SwipeControl>

Value
SwipeItems SwipeItems SwipeItems SwipeItems

The items that can be invoked when the control is swiped from the left side.

LeftItemsProperty LeftItemsProperty LeftItemsProperty LeftItemsProperty

Prerelease. Identifies the LeftItems dependency property.

public : static DependencyProperty LeftItemsProperty { get; }public static DependencyProperty LeftItemsProperty { get; }Public Static ReadOnly Property LeftItemsProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the LeftItems dependency property.

RightItems RightItems RightItems RightItems

Prerelease. Gets or sets the items that can be invoked when the control is swiped from the right side.

public : SwipeItems RightItems { get; set; }public SwipeItems RightItems { get; set; }Public ReadWrite Property RightItems As SwipeItems// You can use this property in JavaScript.
<SwipeControl>

  <SwipeControl.RightItems>

    oneOrMoreSwipeItemDefinitions

  </SwipeControl.RightItems>

</SwipeControl>

Value
SwipeItems SwipeItems SwipeItems SwipeItems

The items that can be invoked when the control is swiped from the right side.

RightItemsProperty RightItemsProperty RightItemsProperty RightItemsProperty

Prerelease. Identifies the RightItems dependency property.

public : static DependencyProperty RightItemsProperty { get; }public static DependencyProperty RightItemsProperty { get; }Public Static ReadOnly Property RightItemsProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the RightItems dependency property.

TopItems TopItems TopItems TopItems

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

public : SwipeItems TopItems { get; set; }public SwipeItems TopItems { get; set; }Public ReadWrite Property TopItems As SwipeItems// You can use this property in JavaScript.
<SwipeControl>

  <SwipeControl.TopItems>

    oneOrMoreSwipeItemDefinitions

  </SwipeControl.TopItems>

</SwipeControl>

Value
SwipeItems SwipeItems SwipeItems SwipeItems

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

TopItemsProperty TopItemsProperty TopItemsProperty TopItemsProperty

Prerelease. Identifies the TopItems dependency property.

public : static DependencyProperty TopItemsProperty { get; }public static DependencyProperty TopItemsProperty { get; }Public Static ReadOnly Property TopItemsProperty As DependencyProperty// You can use this property in JavaScript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the TopItems dependency property.

Methods

Close() Close() Close() Close()

Prerelease. Closes the swipe control.

public : void Close()public void Close()Public Function Close() As void// You can use this method in JavaScript.