共用方式為


DatePickerSelectedValueChangedEventArgs 類別

定義

提供 DatePicker.SelectedDateChanged 事件的事件數據。

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

屬性

NewDate

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

OldDate

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

適用於