共用方式為


TemplatedPage.ControlTemplate Property

Definition

Gets or sets the control template that is used to display content.

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

Property Value

Applies to