ControlTemplate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the appearance of the templated control.
public ref class ControlTemplate : Microsoft::Maui::Controls::ElementTemplate
public class ControlTemplate : Microsoft.Maui.Controls.ElementTemplate
type ControlTemplate = class
inherit ElementTemplate
Public Class ControlTemplate
Inherits ElementTemplate
- Inheritance
Constructors
| Name | Description |
|---|---|
| ControlTemplate() |
Creates a new empty ControlTemplate. |
| ControlTemplate(Func<Object>) |
Creates a new ControlTemplate with the specified content factory. |
| ControlTemplate(Type) |
Creates a new ControlTemplate with the specified type. |
Properties
| Name | Description |
|---|---|
| LoadTemplate | (Inherited from ElementTemplate) |
Methods
| Name | Description |
|---|---|
| CreateContent() |
Used by the XAML infrastructure to load data templates and set up the content of the resulting UI. (Inherited from ElementTemplate) |