ItemsControlAutomationPeer 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向 UI 自动化公开 ItemsControl 类型。
public ref class ItemsControlAutomationPeer abstract : System::Windows::Automation::Peers::FrameworkElementAutomationPeer
public ref class ItemsControlAutomationPeer abstract : System::Windows::Automation::Peers::FrameworkElementAutomationPeer, System::Windows::Automation::Provider::IItemContainerProvider
public abstract class ItemsControlAutomationPeer : System.Windows.Automation.Peers.FrameworkElementAutomationPeer
public abstract class ItemsControlAutomationPeer : System.Windows.Automation.Peers.FrameworkElementAutomationPeer, System.Windows.Automation.Provider.IItemContainerProvider
type ItemsControlAutomationPeer = class
inherit FrameworkElementAutomationPeer
type ItemsControlAutomationPeer = class
inherit FrameworkElementAutomationPeer
interface IItemContainerProvider
Public MustInherit Class ItemsControlAutomationPeer
Inherits FrameworkElementAutomationPeer
Public MustInherit Class ItemsControlAutomationPeer
Inherits FrameworkElementAutomationPeer
Implements IItemContainerProvider
- 继承
-
ItemsControlAutomationPeer
- 派生
- 实现
构造函数
ItemsControlAutomationPeer(ItemsControl) |
在由派生类的构造函数调用时,提供基类值的初始化。 |
属性
Dispatcher |
获取与此 Dispatcher 关联的 DispatcherObject。 (继承自 DispatcherObject) |
EventsSource |
获取或设置一个 AutomationPeer,它作为来自此 AutomationPeer 的所有事件的源报告给自动化客户端。 (继承自 AutomationPeer) |
IsHwndHost |
获取一个值,该值指示Windows Presentation Foundation (WPF 中与此AutomationPeer主机 |
IsVirtualized |
获取指示 ItemsControlAutomationPeer 是否应为未虚拟化的子项返回 AutomationPeer 对象的值。 |
Owner |
获取与此 UIElementAutomationPeer 关联的 UIElement。 (继承自 UIElementAutomationPeer) |
方法
显式接口实现
IItemContainerProvider.FindItemByProperty(IRawElementProviderSimple, Int32, Object) |
按指定的属性值检索元素。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈