ToolTip.OnCreateAutomationPeer 方法

定义

创建 AutomationPeer 控件的 ToolTip 实现。

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

ToolTipAutomationPeer 控件的新 ToolTip

适用于