語言

PageContent.Child 屬性

定義

會得到或設定 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

備註

該 Child 屬性回傳時間為 FixedPage :

當屬性Child被設定時,該FixedPage屬性回傳 Source(當屬性指定Source時,未FixedPage被快取)。 使用GetPageRoot或GetPageRootAsync返回FixedPage由屬性設定的Source

XAML 文字使用

你無法在 XAML 中使用這個屬性。

適用於

另請參閱