2 implementations of IControlTemplated
Microsoft.Maui.Controls (2)
TemplatedPage.cs (1)
9 public class TemplatedPage : Page, IControlTemplated
TemplatedView\TemplatedView.cs (1)
12 public partial class TemplatedView : Compatibility.Layout, IControlTemplated, IContentView
29 references to IControlTemplated
Microsoft.Maui.Controls (29)
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;
Element\Element.cs (1)
407 if (value != null && (element is Layout || element is IControlTemplated))
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);
TemplatedPage.cs (4)
22 IList<Element> IControlTemplated.InternalChildren => InternalChildren; 24 Element IControlTemplated.TemplateRoot { get; set; } 46 void IControlTemplated.OnControlTemplateChanged(ControlTemplate oldValue, ControlTemplate newValue) 55 void IControlTemplated.OnApplyTemplate()
TemplatedView\TemplatedView.cs (5)
26 IList<Element> IControlTemplated.InternalChildren => InternalChildren; 28 Element IControlTemplated.TemplateRoot { get; set; } 84 void IControlTemplated.OnControlTemplateChanged(ControlTemplate oldValue, ControlTemplate newValue) 93 void IControlTemplated.OnApplyTemplate() 123 (this as IControlTemplated).TemplateRoot as IView;
TemplateUtilities.cs (12)
20 var controlTemplated = element as IControlTemplated; 58 var self = (IControlTemplated)bindable; 81 var self = (IControlTemplated)bindable; 96 var controlTemplated = child as IControlTemplated; 127 var controlTemplated = (IControlTemplated)bindable; 134 public static object GetTemplateChild(this IControlTemplated controlTemplated, string name) 139 internal static void OnChildRemoved(IControlTemplated controlTemplated, Element removedChild)
TitleBar\TitleBar.cs (3)
242 IView IContentView.PresentedContent => (this as IControlTemplated).TemplateRoot as IView; 298 var controlTemplate = (this as IControlTemplated);