Edit

Share via


TreeViewItem.OnCollapsed(RoutedEventArgs) Method

Definition

Raises a Collapsed event when the IsExpanded property changes from true to false.

protected:
 virtual void OnCollapsed(System::Windows::RoutedEventArgs ^ e);
protected virtual void OnCollapsed (System.Windows.RoutedEventArgs e);
abstract member OnCollapsed : System.Windows.RoutedEventArgs -> unit
override this.OnCollapsed : System.Windows.RoutedEventArgs -> unit
Protected Overridable Sub OnCollapsed (e As RoutedEventArgs)

Parameters

e
RoutedEventArgs

The event arguments.

Applies to