ItemIndexRange
ItemIndexRange
ItemIndexRange
ItemIndexRange
Class
Definition
Provides info about a range of items in the data source.
public : class ItemIndexRange : IItemIndexRangepublic class ItemIndexRange : IItemIndexRangePublic Class ItemIndexRange Implements IItemIndexRange// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The ItemIndexRange class supports virtualization of large data sources for efficient presentation by XAML list controls. The other classes and interfaces that support data source virtualization are the following.
- IItemsRangeInfo interface
- ISelectionInfo interface
Constructors
ItemIndexRange(Int32, UInt32) ItemIndexRange(Int32, UInt32) ItemIndexRange(Int32, UInt32) ItemIndexRange(Int32, UInt32)
Initializes an instance of the ItemIndexRange class.
public : ItemIndexRange(int firstIndex, unsigned int length)public ItemIndexRange(Int32 firstIndex, UInt32 length)Public Sub New(firstIndex As Int32, length As UInt32)// This API is not available in Javascript.
- firstIndex
- int Int32 Int32 Int32
The index of the first item in the instance of the ItemIndexRange class.
- length
- unsigned int UInt32 UInt32 UInt32
The number of items in the instance of the ItemIndexRange class.
Properties
FirstIndex FirstIndex FirstIndex FirstIndex
Gets the index of the first item in the instance of the ItemIndexRange class.
public : int FirstIndex { get; }public int FirstIndex { get; }Public ReadOnly Property FirstIndex As int// This API is not available in Javascript.
- Value
- int int int int
The index of the first item in the instance of the ItemIndexRange class.
LastIndex LastIndex LastIndex LastIndex
Gets the index of the last item in the instance of the ItemIndexRange class.
public : int LastIndex { get; }public int LastIndex { get; }Public ReadOnly Property LastIndex As int// This API is not available in Javascript.
- Value
- int int int int
The index of the last item in the instance of the ItemIndexRange class.
Length Length Length Length
Gets the number of items in the instance of the ItemIndexRange class.
public : unsigned int Length { get; }public uint Length { get; }Public ReadOnly Property Length As uint// This API is not available in Javascript.
- Value
- unsigned int uint uint uint
The number of items in the instance of the ItemIndexRange class.