共用方式為


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

適用於