共用方式為


ContentPresenter.Content Property

Definition

Gets or sets the view whose layout is managed by this ContentPresenter.

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

Applies to