DatePicker.OnCalendarOpened(RoutedEventArgs) 方法

定义

引发 CalendarOpened 路由事件。

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

参数

e
RoutedEventArgs

事件的数据。

继承者说明

在派生类中重写 OnCalendarOpened(RoutedEventArgs) 时,请务必调用基类的 OnCalendarOpened(RoutedEventArgs) 方法,以便注册的委托接收事件。

适用于