Share via


ItemIndexRange Class

Definition

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

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 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(Microsoft.UI.Xaml.WinUIContract), 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

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