2 implementations of TemplateRoot
Microsoft.Maui.Controls (2)
TemplatedPage.cs (1)
24
Element IControlTemplated.
TemplateRoot
{ get; set; }
TemplatedView\TemplatedView.cs (1)
28
Element IControlTemplated.
TemplateRoot
{ get; set; }
2 writes to TemplateRoot
Microsoft.Maui.Controls (2)
TemplateUtilities.cs (2)
129
controlTemplated.
TemplateRoot
= content;
142
controlTemplated.
TemplateRoot
= null;
9 references to TemplateRoot
Microsoft.Maui.Controls (9)
ContentPage\ContentPage.cs (1)
69
IView IContentView.PresentedContent => ((this as IControlTemplated).
TemplateRoot
as IView) ?? Content;
ContentView\ContentView.cs (1)
48
IView IContentView.PresentedContent => ((this as IControlTemplated).
TemplateRoot
as IView) ?? Content;
RadioButton\RadioButton.cs (2)
307
_templateRoot = (this as IControlTemplated)?.
TemplateRoot
as View;
659
IView IContentView.PresentedContent => ((this as IControlTemplated).
TemplateRoot
as IView) ?? (Content as IView);
TemplatedView\TemplatedView.cs (1)
123
(this as IControlTemplated).
TemplateRoot
as IView;
TemplateUtilities.cs (2)
136
return controlTemplated.
TemplateRoot
?.FindByName(name);
141
if (removedChild == controlTemplated.
TemplateRoot
)
TitleBar\TitleBar.cs (2)
242
IView IContentView.PresentedContent => (this as IControlTemplated).
TemplateRoot
as IView;
300
_templateRoot = controlTemplate?.
TemplateRoot
as View;