共用方式為


IShellSectionController.AddDisplayedPageObserver Method

Definition

public:
 void AddDisplayedPageObserver(System::Object ^ observer, Action<Microsoft::Maui::Controls::Page ^> ^ callback);
public void AddDisplayedPageObserver (object observer, Action<Microsoft.Maui.Controls.Page> callback);
abstract member AddDisplayedPageObserver : obj * Action<Microsoft.Maui.Controls.Page> -> unit
Public Sub AddDisplayedPageObserver (observer As Object, callback As Action(Of Page))

Parameters

observer
Object
callback
Action<Page>

Applies to