NavigationView.PaneOpening Event

Definition

Occurs when the NavigationView pane is opening.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

// Register
event_token PaneOpening(TypedEventHandler<NavigationView, IInspectable const&> const& handler) const;

// Revoke with event_token
void PaneOpening(event_token const* cookie) const;

// Revoke with event_revoker
NavigationView::PaneOpening_revoker PaneOpening(auto_revoke_t, TypedEventHandler<NavigationView, IInspectable const&> const& handler) const;
public event TypedEventHandler<NavigationView,object> PaneOpening;
Public Custom Event PaneOpening As TypedEventHandler(Of NavigationView, Object) 
<NavigationView PaneOpening="eventhandler" />

Event Type

Applies to