3 instantiations of ControlTemplate
Microsoft.Maui.Controls (2)
RadioButton\RadioButton.cs (1)
227
s_defaultTemplate = new
ControlTemplate
(() => BuildDefaultTemplate());
TitleBar\TitleBar.cs (1)
288
_defaultTemplate ??= new
ControlTemplate
(() => BuildDefaultTemplate());
Microsoft.Maui.Controls.Xaml (1)
CreateValuesVisitor.cs (1)
94
value = new
ControlTemplate
();
34 references to ControlTemplate
Microsoft.Maui.Controls (33)
ContentPage\ContentPage.cs (4)
47
ControlTemplate
controlTemplate = ControlTemplate;
54
internal override void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
61
ControlTemplate
controlTemplate = ControlTemplate;
ContentView\ContentView.cs (2)
31
internal override void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
IControlTemplated.cs (3)
8
ControlTemplate
ControlTemplate { get; set; }
14
void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue);
RadioButton\RadioButton.cs (4)
46
static
ControlTemplate
s_defaultTemplate;
221
public static
ControlTemplate
DefaultTemplate
313
internal override void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
TemplatedPage.cs (7)
12
public static readonly BindableProperty ControlTemplateProperty = BindableProperty.Create(nameof(ControlTemplate), typeof(
ControlTemplate
), typeof(TemplatedPage), null,
16
public
ControlTemplate
ControlTemplate
18
get { return (
ControlTemplate
)GetValue(ControlTemplateProperty); }
46
void IControlTemplated.OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
51
internal virtual void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
TemplatedView\TemplatedView.cs (8)
16
public static readonly BindableProperty ControlTemplateProperty = BindableProperty.Create(nameof(ControlTemplate), typeof(
ControlTemplate
), typeof(TemplatedView), null,
20
public
ControlTemplate
ControlTemplate
22
get { return (
ControlTemplate
)GetValue(ControlTemplateProperty); }
84
void IControlTemplated.OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
89
internal virtual void OnControlTemplateChanged(
ControlTemplate
oldValue,
ControlTemplate
newValue)
114
public virtual
ControlTemplate
ResolveControlTemplate()
TemplateUtilities.cs (3)
113
ControlTemplate
template = self.ControlTemplate;
128
controlTemplated.OnControlTemplateChanged((
ControlTemplate
)oldValue, (
ControlTemplate
)newValue);
TitleBar\TitleBar.cs (2)
245
static
ControlTemplate
? _defaultTemplate;
284
public static
ControlTemplate
DefaultTemplate
Microsoft.Maui.Controls.Xaml (1)
CreateValuesVisitor.cs (1)
93
if (type == typeof(
ControlTemplate
))