共用方式為


ContentView.Content Property

Definition

Gets or sets the content of the ContentView.

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

Property Value

A View that contains the content.

Applies to