SystemNavigationManagerPreview クラス

定義

アプリがシステム提供のクローズ イベントに応答する方法を提供します。

public ref class SystemNavigationManagerPreview sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SystemNavigationManagerPreview final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SystemNavigationManagerPreview
Public NotInheritable Class SystemNavigationManagerPreview
継承
Object Platform::Object IInspectable SystemNavigationManagerPreview
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)

メソッド

GetForCurrentView()

現在のウィンドウに関連付けられている SystemNavigationManagerPreview オブジェクトを返します。

イベント

CloseRequested

ユーザーが閉じるシステム ボタン (アプリのタイトル バーの隅にある [x] ボタン) を呼び出したときに発生します。

適用対象