Share via


TreeView.Expanding Event

Definition

Occurs when a node in the tree starts to expand.

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

// 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) 

Event Type

Applies to