IItemsRangeInfo Interface

Definition

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

Equivalent WinUI interface: Microsoft.UI.Xaml.Data.IItemsRangeInfo.

public interface class IItemsRangeInfo : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4032779877, 29181, 17826, 190, 19, 160, 129, 210, 148, 166, 141)]
/// [Windows.Foundation.Metadata.WebHostHidden]
struct IItemsRangeInfo : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(4032779877, 29181, 17826, 190, 19, 160, 129, 210, 148, 166, 141)]
[Windows.Foundation.Metadata.WebHostHidden]
public interface IItemsRangeInfo : System.IDisposable
Public Interface IItemsRangeInfo
Implements IDisposable
Attributes
Implements

Windows 10 requirements

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

Remarks

The IItemsRangeInfo interface 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.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RangesChanged(ItemIndexRange, IReadOnlyList<ItemIndexRange>)

Updates the ranges of items in the data source that are visible in the list control and that are tracked in the instance of the object that implements the IItemsRangeInfo interface.

Equivalent WinUI method: Microsoft.UI.Xaml.Data.IItemsRangeInfo.RangesChanged.

Applies to

See also