ButtonAutomationPeer(Button) 构造函数

定义

初始化 ButtonAutomationPeer 类的新实例。

public:
 ButtonAutomationPeer(System::Windows::Controls::Button ^ owner);
public ButtonAutomationPeer (System.Windows.Controls.Button owner);
new System.Windows.Automation.Peers.ButtonAutomationPeer : System.Windows.Controls.Button -> System.Windows.Automation.Peers.ButtonAutomationPeer
Public Sub New (owner As Button)

参数

owner
Button

与此自动化同级相关联的元素。

适用于