PageContent.Child Właściwość

Definicja

Pobiera lub ustawia FixedPage skojarzone z tym PageContentelementem .

C#
public System.Windows.Documents.FixedPage Child { get; }
C#
public System.Windows.Documents.FixedPage Child { get; set; }

Wartość właściwości

Wartość FixedPage skojarzona z tym PageContentelementem lub o wartości null , gdy FixedPage właściwość jest ustawiana Source przez właściwość .

Uwagi

Właściwość Child zwraca FixedPage wartość , gdy:

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ść .

Użycie tekstu w języku XAML

Nie można użyć tej właściwości w języku XAML.

Dotyczy

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

Zobacz też