Bagikan melalui


PageContent.Child Properti

Definisi

Mendapatkan atau mengatur yang FixedPage terkait dengan ini 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

Nilai Properti

Yang FixedPage terkait dengan ini PageContent, atau null ketika FixedPage diatur oleh Source properti .

Keterangan

Properti Child mengembalikan FixedPage ketika:

Properti Child mengembalikan null ketika FixedPage diatur oleh Source properti (ketika ditentukan oleh Source properti , FixedPage tidak di-cache). Gunakan GetPageRoot atau GetPageRootAsync untuk mengembalikan FixedPage saat diatur oleh Source properti .

Penggunaan Teks XAML

Anda tidak dapat menggunakan properti ini di XAML.

Berlaku untuk

Lihat juga