共用方式為


Shell.IShellController.AddAppearanceObserver Method

Definition

 virtual void Microsoft.Maui.Controls.IShellController.AddAppearanceObserver(Microsoft::Maui::Controls::IAppearanceObserver ^ observer, Microsoft::Maui::Controls::Element ^ pivot) = Microsoft::Maui::Controls::IShellController::AddAppearanceObserver;
void IShellController.AddAppearanceObserver (Microsoft.Maui.Controls.IAppearanceObserver observer, Microsoft.Maui.Controls.Element pivot);
abstract member Microsoft.Maui.Controls.IShellController.AddAppearanceObserver : Microsoft.Maui.Controls.IAppearanceObserver * Microsoft.Maui.Controls.Element -> unit
override this.Microsoft.Maui.Controls.IShellController.AddAppearanceObserver : Microsoft.Maui.Controls.IAppearanceObserver * Microsoft.Maui.Controls.Element -> unit
Sub AddAppearanceObserver (observer As IAppearanceObserver, pivot As Element) Implements IShellController.AddAppearanceObserver

Parameters

pivot
Element

Implements

Applies to