Condividi tramite


PageContent.Child Proprietà

Definizione

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:

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.

Si applica a

Vedi anche