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

Hodnota přidružená FixedPage k tomuto PageContentnebo null , pokud FixedPage je vlastnost nastavena Source .

Poznámky

Vlastnost Child vrátí, FixedPage když:

Vlastnost Child vrátí hodnotu null , pokud FixedPage je nastavena Source vlastností (pokud je vlastnost určena Source , FixedPage není uložena do mezipaměti). Pokud je FixedPage vlastnost nastavená Source vlastností, použijte GetPageRoot neboGetPageRootAsync.

Použití textu XAML

Tuto vlastnost nelze použít v XAML.

Platí pro

Viz také