RadioButton.OnCreateAutomationPeer 方法

定義

提供這個控制項適當的 RadioButtonAutomationPeer 實作,做為 WPFWPF 自動化基礎結構的一部分。Provides an appropriate RadioButtonAutomationPeer implementation for this control, as part of the WPFWPF automation infrastructure.

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

因型別而異的 AutomationPeer 實作。The type-specific AutomationPeer implementation.

適用於