다음을 통해 공유


ShellTemplatedViewManager.SetView Method

Definition

public:
 static void SetView(Microsoft::Maui::Controls::View ^ % localView, Microsoft::Maui::Controls::View ^ newView, Action<Microsoft::Maui::Controls::Element ^> ^ OnChildRemoved, Action<Microsoft::Maui::Controls::Element ^> ^ OnChildAdded);
public static void SetView (ref Microsoft.Maui.Controls.View localView, Microsoft.Maui.Controls.View newView, Action<Microsoft.Maui.Controls.Element> OnChildRemoved, Action<Microsoft.Maui.Controls.Element> OnChildAdded);
static member SetView : View * Microsoft.Maui.Controls.View * Action<Microsoft.Maui.Controls.Element> * Action<Microsoft.Maui.Controls.Element> -> unit
Public Shared Sub SetView (ByRef localView As View, newView As View, OnChildRemoved As Action(Of Element), OnChildAdded As Action(Of Element))

Parameters

localView
View
newView
View
OnChildRemoved
Action<Element>
OnChildAdded
Action<Element>

Applies to