Compartir vía


PageContent.Child Propiedad

Definición

Obtiene o establece el FixedPage asociado a este PageContentobjeto .

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

Valor de propiedad

FixedPage asociado a este PageContent, o null cuando FixedPage la propiedad establece .Source

Comentarios

La Child propiedad devuelve un FixedPage valor when:

La Child propiedad devuelve null cuando FixedPage la propiedad se establece ( Source cuando se especifica mediante la Source propiedad , no FixedPage se almacena en caché). Use GetPageRoot o GetPageRootAsync para devolver el FixedPage valor cuando establezca la Source propiedad .

Uso de texto XAML

No puedes usar esta propiedad en XAML.

Se aplica a

Consulte también