SwipeItems
SwipeItems
SwipeItems
SwipeItems
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.
public : class SwipeItems : DependencyObject, IIterable, IVector, ISwipeItemspublic class SwipeItems : DependencyObject, IEnumerable, IList, ISwipeItemsPublic Class SwipeItems Inherits DependencyObject Implements IEnumerable, IList, ISwipeItems// You can use this class in JavaScript.
<SwipeControl>
<SwipeControl.TopItems>
oneOrMoreSwipeItemDefinitions
</SwipeControl.TopItems>
</SwipeControl>
- Inheritance
-
SwipeItemsSwipeItemsSwipeItemsSwipeItems
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited methods
Inherited properties
Constructors
Properties
Item[Int32] Item[Int32] Item[Int32] Item[Int32]
Gets or sets the element at the specified index.
This member is not implemented in C++T this[int index] { get; set; }Property Item(index As Integer) As TT this[int index] { get; set; }
- index
The zero-based index of the element to get or set.
- Value
- T T T T
The element at the specified index.
index is not a valid index in the System.Collections.Generic.IList`1.
The property is set and the System.Collections.Generic.IList`1 is read-only.
Mode Mode Mode Mode
Prerelease. Gets or sets a value that indicates the effect of a swipe interaction.
public : SwipeMode Mode { get; set; }public SwipeMode Mode { get; set; }Public ReadWrite Property Mode As SwipeMode// You can use this property in JavaScript.
ModeProperty ModeProperty ModeProperty ModeProperty
Prerelease. Identifies the Mode dependency property.
public : static DependencyProperty ModeProperty { get; }public static DependencyProperty ModeProperty { get; }Public Static ReadOnly Property ModeProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the Mode dependency property.
Methods
Clear() Clear() Clear() Clear()
Prerelease. Removes all items from the collection.
public : void Clear()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
First() First() First() First()
Prerelease. Returns an iterator for the items in the collection.
public : IIterator<SwipeItem> First()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
The iterator object. The iterator's current position is the 0-index position, or at the collection end if the collection is empty.
GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)
Prerelease. Returns the item located at the specified index.
public : SwipeItem GetAt(unsigned int index)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- index
- unsigned int UInt32 UInt32 UInt32
The integer index for the value to retrieve.
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()
Returns an enumerator that iterates through the collection.
This member is not implemented in C++IEnumerator<T> GetEnumerator()Function GetEnumerator As IEnumerator(Of T)IEnumerator<T> GetEnumerator()
An enumerator that can be used to iterate through the collection.
GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[]) GetMany(UInt32, SwipeItem[])
Prerelease. Retrieves multiple elements in a single pass through the iterator.
public : unsigned int GetMany(unsigned int startIndex, SwipeItem[] items)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- startIndex
- unsigned int UInt32 UInt32 UInt32
The index from which to start retrieval.
- items
- SwipeItem[] SwipeItem[] SwipeItem[] SwipeItem[]
Provides the destination for the result. Size the initial array size as a "capacity" in order to specify how many results should be retrieved.
The number of items retrieved.
GetView() GetView() GetView() GetView()
Prerelease. Gets an immutable view into the collection.
public : IVectorView<SwipeItem> GetView()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
An object representing the immutable collection view.
IndexOf(T) IndexOf(T) IndexOf(T) IndexOf(T)
Determines the index of a specific item in the System.Collections.Generic.IList`1.
This member is not implemented in C++int IndexOf(T item)Function IndexOf(item As T) As Integerint IndexOf(T item)
- item
- T T T T
The object to locate in the System.Collections.Generic.IList`1.
The index of item if found in the list; otherwise, -1.
IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32) IndexOf(SwipeItem, UInt32)
Prerelease. Retrieves the index of the specified item.
public : PlatForm::Boolean IndexOf(SwipeItem value, unsigned int index)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- index
- unsigned int UInt32 UInt32 UInt32
The index of the item to find, if found.
true if an item with the specified value was found; otherwise, false.
Insert(Int32, T) Insert(Int32, T) Insert(Int32, T) Insert(Int32, T)
Inserts an item to the System.Collections.Generic.IList`1 at the specified index.
This member is not implemented in C++void Insert(int index, T item)Sub Insert(index As Integer, item As T)void Insert(int index, T item)
- index
The zero-based index at which item should be inserted.
- item
- T T T T
The object to insert into the System.Collections.Generic.IList`1.
index is not a valid index in the System.Collections.Generic.IList`1.
The System.Collections.Generic.IList`1 is read-only.
InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem) InsertAt(UInt32, SwipeItem)
Prerelease. Inserts the specified item at the specified index.
public : void InsertAt(unsigned int index, SwipeItem value)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- index
- unsigned int UInt32 UInt32 UInt32
The index at which to set the value.
RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)
Removes the System.Collections.Generic.IList`1 item at the specified index.
This member is not implemented in C++void RemoveAt(int index)Sub RemoveAt(index As Integer)void RemoveAt(int index)
- index
The zero-based index of the item to remove.
index is not a valid index in the System.Collections.Generic.IList`1.
The System.Collections.Generic.IList`1 is read-only.
RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32) RemoveAt(UInt32)
Prerelease. Removes the item at the specified index.
public : void RemoveAt(unsigned int index)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- index
- unsigned int UInt32 UInt32 UInt32
The index position of the item to remove.
RemoveAtEnd() RemoveAtEnd() RemoveAtEnd() RemoveAtEnd()
Prerelease. Removes the last item in the collection.
public : void RemoveAtEnd()This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
Remarks
If successful, calling this method reduces the collection size by one.
ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[]) ReplaceAll(SwipeItem[])
Prerelease. Initially clears the collection, then inserts the provided array as new items.
public : void ReplaceAll(SwipeItem[] items)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- items
- SwipeItem[] SwipeItem[] SwipeItem[] SwipeItem[]
The new collection items.
SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem) SetAt(UInt32, SwipeItem)
Prerelease. Sets the value at the specified index to the value specified.
public : void SetAt(unsigned int index, SwipeItem value)This member is not implemented in C#This member is not implemented in VB.Net// You can use this method in JavaScript.
- index
- unsigned int UInt32 UInt32 UInt32
The index at which to set the value.