Class DatePicker

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll

DatePicker is a class which provides a function that allows the user to select a date through a scrolling motion by expressing the specified value as a list. DatePicker expresses the current date using the locale information of the system. Year range is 1970~2038 (glibc time_t struct min, max value)

C#
Copy
public class DatePicker : Control, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
DatePicker
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

DatePicker()

Creates a new instance of DatePicker.

Declaration
C#
Copy
public DatePicker()
View Source

DatePicker(string)

Creates a new instance of DatePicker.

Declaration
C#
Copy
public DatePicker(string style)
Parameters
Type Name Description
string style

Creates DatePicker by special style defined in UX.

View Source

DatePicker(DatePickerStyle)

Creates a new instance of DatePicker.

Declaration
C#
Copy
public DatePicker(DatePickerStyle datePickerStyle)
Parameters
Type Name Description
Tizen.NUI.Components.DatePickerStyle datePickerStyle

Creates DatePicker by style customized by user.

Properties

View Source

Date

The Date value of DatePicker.

Declaration
C#
Copy
public DateTime Date { get; set; }
Property Value
Type Description
System.DateTime

Events

View Source

DateChanged

An event emitted when DatePicker value changed, user can subscribe or unsubscribe to this event handler.

Declaration
C#
Copy
public event EventHandler<DateChangedEventArgs> DateChanged
Event Type
Type Description
System.EventHandler<TEventArgs><DateChangedEventArgs>

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable