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

属性值

UIElementCollection

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

注解

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

派生自Panel的类应对内部重写(如MeasureCoreArrangeCore)使用此属性而不是Children属性。

适用于

另请参阅