Popup.LogicalChildren 屬性

定義

取得列舉值,您可以使用這個列舉值來存取 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 ,子內容會在具有自己的視覺化樹狀結構的另一個視窗中轉譯。

適用於