PageContent.Child Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 :
- PageContent a un enfant immédiat FixedPage défini dans le balisage XAML.
- Il IAddChild.AddChild a été appelé pour définir l’enfant FixedPage du PageContent.
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.