PageContent.Child Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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:
- PageContent memiliki anak langsung yang FixedPage didefinisikan dalam markup XAML.
- IAddChild.AddChild telah dipanggil untuk mengatur FixedPage sebagai anak dari PageContent.
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.