SplitView.PaneClosing 이벤트

정의

SplitView 창이 닫히면 발생합니다.

// Register
event_token PaneClosing(TypedEventHandler<SplitView, SplitViewPaneClosingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SplitView::PaneClosing_revoker PaneClosing(auto_revoke_t, TypedEventHandler<SplitView, SplitViewPaneClosingEventArgs const&> const& handler) const;
public event TypedEventHandler<SplitView,SplitViewPaneClosingEventArgs> PaneClosing;
function onPaneClosing(eventArgs) { /* Your code */ }
splitView.addEventListener("paneclosing", onPaneClosing);
splitView.removeEventListener("paneclosing", onPaneClosing);
- or -
splitView.onpaneclosing = onPaneClosing;
Public Custom Event PaneClosing As TypedEventHandler(Of SplitView, SplitViewPaneClosingEventArgs) 
<SplitView PaneClosing="eventhandler"/>
    

이벤트 유형

설명

SplitView 창 닫기 작업을 취소하려면 이 이벤트에 대한 처리기에서 SplitViewPaneClosingEventArgs.Cancel 속성을 true로 설정합니다.

적용 대상

추가 정보