Share via


Panel.InternalChildren 属性

定义

获取子元素的 UIElementCollection

protected public:
 property System::Windows::Controls::UIElementCollection ^ InternalChildren { System::Windows::Controls::UIElementCollection ^ get(); };
protected internal System.Windows.Controls.UIElementCollection InternalChildren { get; }
member this.InternalChildren : System.Windows.Controls.UIElementCollection
Protected Friend ReadOnly Property InternalChildren As UIElementCollection

属性值

UIElement 对象的有序集合。 此属性没有默认值。

注解

返回的集合包括直接在代码中添加的项,以及数据绑定生成的项。

派生自 Panel 的类应将此属性而不是 Children 属性用于内部重写,例如 MeasureCoreArrangeCore

适用于