PageContent.Child Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene o imposta l'oggetto associato all'oggetto FixedPagePageContent.
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
Valore della proprietà
Oggetto FixedPage associato a questo PageContentoggetto o Null quando l'oggetto FixedPage viene impostato dalla Source proprietà .
Commenti
La Child proprietà restituisce un valore FixedPage quando:
- PageContent ha un figlio immediato FixedPage definito nel markup XAML.
- È IAddChild.AddChild stato chiamato per impostare come FixedPage figlio dell'oggetto PageContent.
La Child proprietà restituisce null quando l'oggetto FixedPageSource viene impostato dalla proprietà ( se specificato dalla Source proprietà , l'oggetto FixedPage non viene memorizzato nella cache). Utilizzare GetPageRoot o GetPageRootAsync per restituire l'oggetto FixedPage quando impostato dalla Source proprietà .
Utilizzo del testo XAML
Non puoi usare questa proprietà in XAML.