SwipeItems SwipeItems SwipeItems SwipeItems Class

Definition

Represents a collection of SwipeItem objects.

public : class SwipeItems : DependencyObject
struct winrt::Windows::UI::Xaml::Controls::SwipeItems : DependencyObject
public class SwipeItems : DependencyObject
Public Class SwipeItems Inherits DependencyObject
<SwipeControl>
  <SwipeControl.TopItems>
    oneOrMoreSwipeItemDefinitions
  </SwipeControl.TopItems>
</SwipeControl>
Inheritance
SwipeItemsSwipeItemsSwipeItemsSwipeItems
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Examples

Tip

For more info, design guidance, and code examples, see Swipe.

If you have the XAML Controls Gallery app installed, click here to open the app and see the SwipeControl in action.

Constructors

SwipeItems() SwipeItems() SwipeItems() SwipeItems()

Initializes a new instance of the SwipeItems class.

Properties

Dispatcher Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
Mode Mode Mode Mode

Gets or sets a value that indicates the effect of a swipe interaction.

ModeProperty ModeProperty ModeProperty ModeProperty

Identifies the Mode dependency property.

Size Size Size Size

Gets the size (count) of the collection.

Methods

Append(SwipeItem) Append(SwipeItem) Append(SwipeItem) Append(SwipeItem)

Adds a new item to the collection.

Clear() Clear() Clear() Clear()

Removes all items from the collection.

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
First() First() First() First()

Returns an iterator for the items in the collection.

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the item located at the specified index.

GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[])

Retrieves multiple elements in a single pass through the iterator.

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
GetView() GetView() GetView() GetView()

Gets an immutable view into the collection.

IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32)

Retrieves the index of the specified item.

InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem)

Inserts the specified item at the specified index.

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32)

Removes the item at the specified index.

RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()

Removes the last item in the collection.

ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[])

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

SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem)

Sets the value at the specified index to the value specified.

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)