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)
public class DatePicker : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlDatePicker
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceDatePicker()
Creates a new instance of DatePicker.
Declaration
public DatePicker()
DatePicker(string)
Creates a new instance of DatePicker.
Declaration
public DatePicker(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | Creates DatePicker by special style defined in UX. |
DatePicker(DatePickerStyle)
Creates a new instance of DatePicker.
Declaration
public DatePicker(DatePickerStyle datePickerStyle)
Parameters
Type | Name | Description |
---|---|---|
Tizen.NUI.Components.DatePickerStyle | datePickerStyle | Creates DatePicker by style customized by user. |
Properties
View SourceDate
The Date value of DatePicker.
Declaration
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Events
View SourceDateChanged
An event emitted when DatePicker value changed, user can subscribe or unsubscribe to this event handler.
Declaration
public event EventHandler<DateChangedEventArgs> DateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><DateChangedEventArgs> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable