PageContent.Child Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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:
- PageContent tiene un elemento secundario inmediato FixedPage definido en el marcado XAML.
- IAddChild.AddChild Se ha llamado a para establecer como FixedPage elemento secundario de PageContent.
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.