次の方法で共有


Shell.Current プロパティ

定義

アクティブなアプリケーション ウィンドウから現在の Shell インスタンスを取得します。

public:
 static property Microsoft::Maui::Controls::Shell ^ Current { Microsoft::Maui::Controls::Shell ^ get(); };
public static Microsoft.Maui.Controls.Shell Current { get; }
static member Current : Microsoft.Maui.Controls.Shell
Public Shared ReadOnly Property Current As Shell

プロパティ値

注釈

これは、 Microsoft.Maui.Controls.Application.Current.MainPageの型キャスト エイリアスです。

適用対象