blob: c238e9e9e4186b3454f4070b54765fb7b261f9e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
namespace Xamarin.Forms.Platform.Tizen.Native
{
/// <summary>
/// Event arguments for <see cref="DatePicker.DateChanged"/> event.
/// </summary>
public class DateChangedEventArgs : EventArgs
{
/// <summary>
/// The date that was on the element at the time that the user selected it.
/// </summary>
public DateTime OldDate { get; private set; }
/// <summary>
/// The date that the user entered.
/// </summary>
public DateTime NewDate { get; private set; }
/// <summary>
/// Creates a new <see cref="DateChangedEventArgs"/> object that represents a change from <paramref name="oldDate"/> to <paramref name="newDate"/>.
/// </summary>
/// <param name="oldDate">Old date of <see cref="DatePicker"/>.</param>
/// <param name="newDate">Current date of <see cref="DatePicker"/>.</param>
public DateChangedEventArgs(DateTime oldDate, DateTime newDate)
{
this.OldDate = oldDate;
this.NewDate = newDate;
}
}
}
|