TreeViewItem.OnCollapsed(RoutedEventArgs) 方法

定义

Collapsed 属性从 true 更改为 false 时,引发 IsExpanded 事件。

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)

参数

e
RoutedEventArgs

事件自变量。

适用于