DatePickerValueChangedEventArgs 类

定义

提供 DatePicker.DateChanged 事件的事件数据。

public ref class DatePickerValueChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DatePickerValueChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DatePickerValueChangedEventArgs
Public NotInheritable Class DatePickerValueChangedEventArgs
继承
Object Platform::Object IInspectable DatePickerValueChangedEventArgs
属性

属性

NewDate

获取选取器中选择的新日期。

OldDate

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

适用于