編輯

共用方式為


StatusBarItem.OnCreateAutomationPeer Method

Definition

Specifies an AutomationPeer for the StatusBarItem.

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

Returns

A StatusBarItemAutomationPeer for this StatusBarItem.

Applies to