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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI