ToggleButtonAutomationPeer.GetAutomationControlTypeCore 方法

定義

取得與此 ToggleButton 相關聯之 ToggleButtonAutomationPeer 的控制項型別。 由 GetAutomationControlType() 呼叫。

protected:
 override System::Windows::Automation::Peers::AutomationControlType GetAutomationControlTypeCore();
protected override System.Windows.Automation.Peers.AutomationControlType GetAutomationControlTypeCore ();
override this.GetAutomationControlTypeCore : unit -> System.Windows.Automation.Peers.AutomationControlType
Protected Overrides Function GetAutomationControlTypeCore () As AutomationControlType

傳回

AutomationControlType

與這個 ToggleButtonAutomationPeer 相關聯之 ToggleButton 的控制項類型。

適用於

另請參閱