ItemIndexRange Class
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
- Attributes
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
Item |
Initializes an instance of the ItemIndexRange class. |
First |
Gets the index of the first item in the instance of the ItemIndexRange class. |
Last |
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. |
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |