ISelectionInfo Interface

Definition

Manages whether items and ranges of items in the data source are selected in the list control.

public interface class ISelectionInfo
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(461685355, 38194, 22531, 147, 91, 160, 59, 247, 232, 117, 220)]
struct ISelectionInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(461685355, 38194, 22531, 147, 91, 160, 59, 247, 232, 117, 220)]
public interface ISelectionInfo
Public Interface ISelectionInfo
Attributes

Remarks

The ISelectionInfo 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

DeselectRange(ItemIndexRange)

Marks the items in the data source specified by itemIndexRange as not selected in the list control.

GetSelectedRanges()

Returns the collection of ranges of items in the data source that are selected in the list control.

IsSelected(Int32)

Provides info about whether the item in the data source at the specified index is selected in the list control.

SelectRange(ItemIndexRange)

Marks the items in the data source specified by itemIndexRange as selected in the list control.

Applies to

See also