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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.