TreeView.Expanding 事件

定義

發生于樹狀結構中的節點開始展開時。

本檔適用于 Windows 應用程式 SDK 中適用于 WinUI 的 WinUI 2 for UWP (,請參閱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;
Public Custom Event Expanding As TypedEventHandler(Of TreeView, TreeViewExpandingEventArgs) 

事件類型

適用於