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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.