共用方式為


ContextMenu.OnClosed(RoutedEventArgs) 方法

定義

Closed 事件發生時呼叫。

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

參數

e
RoutedEventArgs

Closed 事件的事件資料。

適用於