Share via


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 相關聯的 ,當 由 屬性設定時 FixedPageSourcenull

備註

當下列情況時,屬性 Child 會傳 FixedPage 回 :

ChildFixedPage 屬性由 Source 屬性指定時,屬性 (設定時 Source ,屬性會傳回nullFixedPage 但不會快取) 。 當 屬性設定 Source 時, FixedPage 請使用 GetPageRootGetPageRootAsync 傳回 。

XAML 文字使用方式

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

適用於

另請參閱