ShellTemplatedViewManager.OnViewTemplateChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- shell
- Shell
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.