Freigeben über


TreeView.Collapsed Ereignis

Definition

Tritt auf, wenn ein Knoten in der Struktur reduziert wird.

// Register
event_token Collapsed(TypedEventHandler<TreeView, TreeViewCollapsedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TreeView::Collapsed_revoker Collapsed(auto_revoke_t, TypedEventHandler<TreeView, TreeViewCollapsedEventArgs const&> const& handler) const;
public event TypedEventHandler<TreeView,TreeViewCollapsedEventArgs> Collapsed;
function onCollapsed(eventArgs) { /* Your code */ }
treeView.addEventListener("collapsed", onCollapsed);
treeView.removeEventListener("collapsed", onCollapsed);
- or -
treeView.oncollapsed = onCollapsed;
Public Custom Event Collapsed As TypedEventHandler(Of TreeView, TreeViewCollapsedEventArgs) 

Ereignistyp

Gilt für: