WindowsFormsHost.OnCreateAutomationPeer Метод

Определение

Создает WindowsFormsHostAutomationPeer для элемента WindowsFormsHost.

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

Возвращаемое значение

AutomationPeer

WindowsFormsHostAutomationPeer для элемента WindowsFormsHost.

Применяется к