Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ItemIndexRange Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
ItemIndexRange(Int32, UInt32)

Initializes an instance of the ItemIndexRange class.

Properties

Name Description
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


Feedback

Was this page helpful?