IVirtualizedItemProvider Interface

Definition

Exposes a method to support the virtualized item control pattern. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.VirtualizedItem.

public interface class IVirtualizedItemProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(399810635, 54872, 18656, 165, 116, 90, 81, 108, 88, 223, 167)]
struct IVirtualizedItemProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(399810635, 54872, 18656, 165, 116, 90, 81, 108, 88, 223, 167)]
public interface IVirtualizedItemProvider
Public Interface IVirtualizedItemProvider
Derived
Attributes

Windows requirements

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

Remarks

Controls that contain a large number of child items can use virtualization to efficiently manage the items. With virtualization, the control maintains full information in memory for only a subset of items at any given time. Typically, the subset includes only those items that are currently visible to the user. Full information about the remaining virtualized items is kept in storage and is loaded into memory, or realized, as the control needs it, for example, as new items become visible to the user. For more info on this pattern, see VirtualizedItem Control Pattern.

IVirtualizedItemProvider is implemented by the Windows Runtime automation peer base class ItemAutomationPeer.

The IVirtualizedItemProvider pattern doesn't have a pattern property identifier class, the only API to implement is a method.

Methods

Realize()

Makes the virtual item fully accessible as a UI Automation element.

Applies to

See also