共用方式為


TreeViewItem.OnExpanded(RoutedEventArgs) 方法

定義

Expanded 屬性從 false 變更為 true 時,就會引發 IsExpanded 事件。

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

參數

e
RoutedEventArgs

事件引數。

適用於