PageContent.Child Właściwość

Definicja

Pobiera lub ustawia FixedPage skojarzone z tym PageContentelementem .

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

Wartość właściwości

Wartość FixedPage skojarzona z tym PageContentelementem lub o wartości null , gdy FixedPage właściwość jest ustawiana Source przez właściwość .

Uwagi

Właściwość Child zwraca FixedPage wartość , gdy:

Właściwość Child zwraca wartość null , gdy FixedPage właściwość jest ustawiana przez Source właściwość (jeśli jest określona przez Source właściwość , FixedPage właściwość nie jest buforowana). Użyj polecenia GetPageRoot lub GetPageRootAsync , aby zwrócić element FixedPage po ustawieniu Source przez właściwość .

Użycie tekstu w języku XAML

Nie można użyć tej właściwości w języku XAML.

Dotyczy

Zobacz też