12 references to TemplateUtilities
Microsoft.Maui.Controls (12)
ContentPage\ContentPage.cs (1)
15
public static readonly BindableProperty ContentProperty = BindableProperty.Create(nameof(Content), typeof(View), typeof(ContentPage), null, propertyChanged:
TemplateUtilities
.OnContentChanged);
ContentPresenter.cs (1)
107
newView.ParentOverride = await
TemplateUtilities
.FindTemplatedParentAsync((Element)bindable);
ContentView\ContentView.cs (1)
12
public static readonly BindableProperty ContentProperty = BindableProperty.Create(nameof(Content), typeof(View), typeof(ContentView), null, propertyChanged:
TemplateUtilities
.OnContentChanged);
IndicatorView\IndicatorView.cs (1)
51
static readonly BindableProperty IndicatorLayoutProperty = BindableProperty.Create(nameof(IndicatorLayout), typeof(IBindableLayout), typeof(IndicatorView), null, propertyChanged:
TemplateUtilities
.OnContentChanged);
RelativeBindingSource.cs (1)
96
resolvedSource = await
TemplateUtilities
.FindTemplatedParentAsync(relativeSourceTarget);
TemplateBinding.cs (1)
96
Element templatedParent = await
TemplateUtilities
.FindTemplatedParentAsync(view);
TemplatedPage.cs (3)
13
propertyChanged:
TemplateUtilities
.OnControlTemplateChanged);
67
TemplateUtilities
.OnChildRemoved(this, child);
70
protected object GetTemplateChild(string name) =>
TemplateUtilities
.GetTemplateChild(this, name);
TemplatedView\TemplatedView.cs (3)
17
propertyChanged:
TemplateUtilities
.OnControlTemplateChanged);
108
TemplateUtilities
.OnChildRemoved(this, child);
111
protected object GetTemplateChild(string name) =>
TemplateUtilities
.GetTemplateChild(this, name);