次の方法で共有


NavigationViewPaneClosingEventArgs クラス

定義

NavigationView.PaneClosing イベントのデータを提供します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs (Windows アプリ SDKの WinUI の場合は、Windows アプリ SDK名前空間を参照してください)。

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

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)

プロパティ

Cancel

イベントを取り消すかどうかを示す値を取得または設定します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Controls.NavigationViewPaneClosingEventArgs.Cancel (Windows アプリ SDKの WinUI の場合は、Windows アプリ SDK名前空間を参照してください)。

適用対象