다음을 통해 공유


TreeView.Expanding 이벤트

정의

트리의 노드가 확장하기 시작할 때 발생합니다.

UWP에 해당하는 WinUI 2 API: Microsoft.UI.Xaml.Controls.TreeView.Expanding(Windows 앱 SDK WinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

// Register
event_token Expanding(TypedEventHandler<TreeView, TreeViewExpandingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TreeView::Expanding_revoker Expanding(auto_revoke_t, TypedEventHandler<TreeView, TreeViewExpandingEventArgs const&> const& handler) const;
public event TypedEventHandler<TreeView,TreeViewExpandingEventArgs> Expanding;
function onExpanding(eventArgs) { /* Your code */ }
treeView.addEventListener("expanding", onExpanding);
treeView.removeEventListener("expanding", onExpanding);
- or -
treeView.onexpanding = onExpanding;
Public Custom Event Expanding As TypedEventHandler(Of TreeView, TreeViewExpandingEventArgs) 

이벤트 유형

적용 대상