Partager via


PageContent.Child Propriété

Définition

Obtient ou définit l’associé FixedPage à ce 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

Valeur de propriété

Associé FixedPage à ce PageContentparamètre ou null lorsque la FixedPageSource propriété est définie.

Remarques

La Child propriété retourne une FixedPage valeur quand :

La Child propriété retourne null lorsque la FixedPage propriété est définie par la Source propriété (lorsqu’elle est spécifiée par la Source propriété, celle-ci FixedPage n’est pas mise en cache). Utilisez GetPageRoot ou GetPageRootAsync retournez le FixedPage moment où la Source propriété est définie.

Utilisation du texte XAML

Vous ne pouvez pas utiliser cette propriété en XAML.

S’applique à

Voir aussi