IVirtualizedItemProvider 接口

定义

公开一种方法,以支持虚拟化项控件模式。Exposes a method to support the virtualized item control pattern.

public interface class IVirtualizedItemProvider
public interface IVirtualizedItemProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("cb98b665-2d35-4fac-ad35-f3c60d0c0b8b")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVirtualizedItemProvider
type IVirtualizedItemProvider = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("cb98b665-2d35-4fac-ad35-f3c60d0c0b8b")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVirtualizedItemProvider = interface
Public Interface IVirtualizedItemProvider
派生
属性

注解

Realize方法可将虚拟项完全作为 UI 自动化元素进行访问。The Realize method makes a virtual item fully accessible as a UI Automation element. 虚拟化项通常是虚拟列表中的项;也就是说,不管理其自己的数据的列表。A virtualized item is typically an item in a virtual list; that is, a list that does not manage its own data. 当应用程序使用方法检索虚拟化项的自动化元素时 FindItemByProperty ,提供程序可能返回实现接口的占位符元素 IVirtualizedItemProviderWhen an application retrieves an automation element for a virtualized item by using the FindItemByProperty method, the provider may return a placeholder element that implements the IVirtualizedItemProvider interface. 方法的实现 Realize 返回完全 UI 自动化元素引用。The implementation of the Realize method returns a full UI Automation element reference.

方法

Realize()

使虚拟项像 UI 自动化元素一样可完全访问。Makes the virtual item fully accessible as a UI Automation element.

适用于