ExpanderAutomationPeer.GetChildrenCore 方法

定义

获取与此 ExpanderAutomationPeer 关联的 Expander 控件的子元素集合,并将模板化切换按钮的事件源设为此 GetChildrenCore() 实例。

protected:
 override System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildrenCore();
protected override System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildrenCore ();
override this.GetChildrenCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Protected Overrides Function GetChildrenCore () As List(Of AutomationPeer)

返回

与此 ExpanderAutomationPeer 关联的 Expander 控件的子元素集合。

适用于