共用方式為


DatePickerSelectedValueChangedEventArgs 類別

定義

提供 DatePicker.SelectedDateChanged 事件的事件資料。

public ref class DatePickerSelectedValueChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DatePickerSelectedValueChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DatePickerSelectedValueChangedEventArgs
Public NotInheritable Class DatePickerSelectedValueChangedEventArgs
繼承
Object Platform::Object IInspectable DatePickerSelectedValueChangedEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

屬性

NewDate

取得選擇器中選取的新日期。

OldDate

取得先前在選擇器中選取的日期。

適用於