ContentPage.Content 属性

定义

获取或设置包含页面内容的视图。

public:
 property Microsoft::Maui::Controls::View ^ Content { Microsoft::Maui::Controls::View ^ get(); void set(Microsoft::Maui::Controls::View ^ value); };
public Microsoft.Maui.Controls.View Content { get; set; }
member this.Content : Microsoft.Maui.Controls.View with get, set
Public Property Content As View

属性值

View 类或 null.

适用于