Sdílet prostřednictvím


PageContent.Child Vlastnost

Definice

Získá nebo nastaví přidružené k FixedPage tomuto 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

Hodnota vlastnosti

Přidružený FixedPage k tomuto PageContentobjektu , nebo null při FixedPage nastavení Source vlastností.

Poznámky

Vlastnost Child vrátí následující FixedPage :

Vlastnost Child vrátí hodnotu null , pokud FixedPage je nastavena Source vlastností (pokud je určena Source vlastností, FixedPage není uložena v mezipaměti). Použijte GetPageRoot nebo GetPageRootAsync vraťte FixedPage , kdy je vlastnost nastavena Source .

Použití textu XAML

Tuto vlastnost nelze použít v jazyce XAML.

Platí pro

Viz také