ContextMenu.OnOpened(RoutedEventArgs) 方法

定义

Opened 事件发生时调用。Called when the Opened event occurs.

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 事件的事件数据。The event data for the Opened event.

适用于