共用方式為


ContextMenu.OnOpened(RoutedEventArgs) 方法

定義

Opened 事件發生時呼叫。

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

參數

e
RoutedEventArgs

Opened 事件的事件資料。

適用於