Class DatePicker
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
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, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
- Inheritance
-
System.ObjectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlDatePicker
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
Declaration
C#Copypublic DatePicker()
API Level: 9
Declaration
C#Copypublic DatePicker(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style | Creates DatePicker by special style defined in UX. |
API Level: 9
Declaration
C#Copypublic DatePicker(DatePickerStyle datePickerStyle)
Parameters
Type | Name | Description |
---|---|---|
Tizen.NUI.Components.DatePickerStyle | datePickerStyle | Creates DatePicker by style customized by user. |
API Level: 9
Properties
Declaration
C#Copypublic DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
API Level: 9
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<DateChangedEventArgs> |
API Level: 9
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable