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