Popup.LogicalChildren 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个可用于访问 Popup 控件的逻辑子元素的枚举数。
protected public:
virtual property System::Collections::IEnumerator ^ LogicalChildren { System::Collections::IEnumerator ^ get(); };
protected internal override System.Collections.IEnumerator LogicalChildren { get; }
member this.LogicalChildren : System.Collections.IEnumerator
Protected Friend Overrides ReadOnly Property LogicalChildren As IEnumerator
属性值
可用于访问 IEnumerator 控件的逻辑子元素的 Popup。 默认值为 null。
注解
将内容添加到 Popup 控件时,该 Popup 控件将成为内容的逻辑父级。 同样,内容 Popup 被视为逻辑 Popup子元素。 子内容不会添加到包含 Popup 控件的可视化树中。 相反,当属性设置为 true 时IsOpen,子内容将呈现在具有其自己的可视化树的单独窗口中。