PageContent.Child 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到或設定 FixedPage 與此 PageContent相關的 。
public:
property System::Windows::Documents::FixedPage ^ Child { System::Windows::Documents::FixedPage ^ get(); };
public:
property System::Windows::Documents::FixedPage ^ Child { System::Windows::Documents::FixedPage ^ get(); void set(System::Windows::Documents::FixedPage ^ value); };
public System.Windows.Documents.FixedPage Child { get; }
public System.Windows.Documents.FixedPage Child { get; set; }
member this.Child : System.Windows.Documents.FixedPage
member this.Child : System.Windows.Documents.FixedPage with get, set
Public ReadOnly Property Child As FixedPage
Public Property Child As FixedPage
屬性值
與此FixedPage相關聯的 PageContent ,或當 由性質設定FixedPage時為Source
備註
- PageContent 在 XAML 標記中定義了一個直接 FixedPage 子節點。
- 被 IAddChild.AddChild 召喚將 設定為 FixedPage 的子節點 PageContent。
當屬性Child被設定時,該FixedPage屬性回傳 Source(當屬性指定Source時,未FixedPage被快取)。 使用GetPageRoot或GetPageRootAsync返回FixedPage由屬性設定的Source
XAML 文字使用
你無法在 XAML 中使用這個屬性。