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#Copypublic class DatePicker : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlDatePicker
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic DatePicker()
Declaration
C#Copypublic DatePicker(string style)
Parameters
| Type | Name | Description |
|---|---|---|
| string | style | Creates DatePicker by special style defined in UX. |
Declaration
C#Copypublic DatePicker(DatePickerStyle datePickerStyle)
Parameters
| Type | Name | Description |
|---|---|---|
| Tizen.NUI.Components.DatePickerStyle | datePickerStyle | Creates DatePicker by style customized by user. |
Properties
Declaration
C#Copypublic 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#Copypublic event EventHandler<DateChangedEventArgs> DateChanged
Event Type
| Type | Description |
|---|---|
| System.EventHandler<TEventArgs><DateChangedEventArgs> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable