共用方式為


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

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

適用於