ItemIndexRange Class

Definition

Provides info about a range of items in the data source.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ItemIndexRange
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ItemIndexRange
Public Class ItemIndexRange
Inheritance
Object IInspectable ItemIndexRange
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

Constructors

ItemIndexRange(Int32, UInt32)

Initializes an instance of the ItemIndexRange class.

Properties

FirstIndex

Gets the index of the first item in the instance of the ItemIndexRange class.

LastIndex

Gets the index of the last item in the instance of the ItemIndexRange class.

Length

Gets the number of items in the instance of the ItemIndexRange class.

Applies to