ListBoxItemAutomationPeer(Object, SelectorAutomationPeer) 构造函数

定义

初始化 ListBoxItemAutomationPeer 类的新实例。

public:
 ListBoxItemAutomationPeer(System::Object ^ owner, System::Windows::Automation::Peers::SelectorAutomationPeer ^ selectorAutomationPeer);
public ListBoxItemAutomationPeer (object owner, System.Windows.Automation.Peers.SelectorAutomationPeer selectorAutomationPeer);
new System.Windows.Automation.Peers.ListBoxItemAutomationPeer : obj * System.Windows.Automation.Peers.SelectorAutomationPeer -> System.Windows.Automation.Peers.ListBoxItemAutomationPeer
Public Sub New (owner As Object, selectorAutomationPeer As SelectorAutomationPeer)

参数

owner
Object

与此 ListBoxItemAutomationPeer 关联的 ListBoxItem

selectorAutomationPeer
SelectorAutomationPeer

作为此 SelectorAutomationPeer 的父级的 ListBoxItemAutomationPeer

适用于