Share via


ShellTemplatedViewManager.OnViewTemplateChanged Method

Definition

public:
 static void OnViewTemplateChanged(Microsoft::Maui::Controls::DataTemplate ^ newViewTemplate, Microsoft::Maui::Controls::View ^ % localViewRef, System::Object ^ currentViewData, Action<Microsoft::Maui::Controls::Element ^> ^ OnChildRemoved, Action<Microsoft::Maui::Controls::Element ^> ^ OnChildAdded, Microsoft::Maui::Controls::Shell ^ shell);
public static void OnViewTemplateChanged (Microsoft.Maui.Controls.DataTemplate newViewTemplate, ref Microsoft.Maui.Controls.View localViewRef, object currentViewData, Action<Microsoft.Maui.Controls.Element> OnChildRemoved, Action<Microsoft.Maui.Controls.Element> OnChildAdded, Microsoft.Maui.Controls.Shell shell);
static member OnViewTemplateChanged : Microsoft.Maui.Controls.DataTemplate * View * obj * Action<Microsoft.Maui.Controls.Element> * Action<Microsoft.Maui.Controls.Element> * Microsoft.Maui.Controls.Shell -> unit
Public Shared Sub OnViewTemplateChanged (newViewTemplate As DataTemplate, ByRef localViewRef As View, currentViewData As Object, OnChildRemoved As Action(Of Element), OnChildAdded As Action(Of Element), shell As Shell)

Parameters

newViewTemplate
DataTemplate
localViewRef
View
currentViewData
Object
OnChildRemoved
Action<Element>
OnChildAdded
Action<Element>
shell
Shell

Applies to