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

获取以前在选取器中选择的日期。

适用于