Popup.LogicalChildren Property

Definition

Gets an enumerator that you can use to access the logical child elements of the Popup control.

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

Property Value

An IEnumerator that you can use to access the logical child elements of a Popup control. The default is null.

Remarks

When you add content to a Popup control, the Popup control becomes the logical parent to the content. Similarly, the Popup content is considered to be the logical child of the Popup. The child content is not added to the visual tree that contains the Popup control. Instead, the child content is rendered in a separate window that has its own visual tree when the IsOpen property is set to true.

Applies to