共用方式為


DatePicker.OnCalendarClosed(RoutedEventArgs) 方法

定義

引發 CalendarClosed 路由事件。

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

參數

e
RoutedEventArgs

事件的資料。

給繼承者的注意事項

在衍生類別中覆 OnCalendarClosed(RoutedEventArgs) 寫時,請務必呼叫基類的 OnCalendarClosed(RoutedEventArgs) 方法,讓已註冊的委派接收事件。

適用於