PageContent.Child Właściwość
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera lub ustawia FixedPage skojarzone z tym PageContentelementem .
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
Wartość FixedPage skojarzona z tym PageContentelementem lub o wartości null , gdy FixedPage właściwość jest ustawiana Source przez właściwość .
Właściwość Child zwraca FixedPage wartość , gdy:
- PageContent element ma bezpośrednie FixedPage dziecko zdefiniowane w adiustacji XAML.
- Element IAddChild.AddChild został wywołany, aby ustawić FixedPage element jako element podrzędny elementu PageContent.
Właściwość Child zwraca wartość null , gdy FixedPage właściwość jest ustawiana przez Source właściwość (jeśli jest określona przez Source właściwość , FixedPage właściwość nie jest buforowana). Użyj polecenia GetPageRoot lub GetPageRootAsync , aby zwrócić element FixedPage po ustawieniu Source przez właściwość .
Nie można użyć tej właściwości w języku XAML.
Produkt | Wersje |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Opinia o produkcie .NET
.NET to projekt typu open source. Wybierz link, aby przekazać opinię: