PageContent.Child 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 FixedPage 与此 PageContent关联的项。
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
属性值
此属性FixedPage设置PageContent时与此关联FixedPage,或Source。
注解
- PageContent 具有 XAML 标记中定义的直接 FixedPage 子级。
已调用该函数将设置为 < a0 /> 的子级。
当属性设置Child属性(由属性指定时,FixedPage不缓存该属性)时Source,该Source属性将返回 FixedPage。 使用 GetPageRoot 或 GetPageRootAsync 返回 FixedPage 属性设置 Source 时。
XAML 文本用法
不能在 XAML 中使用此属性。