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#
Copy
public class DatePicker : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
System.Object
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()
API Level: 9
View Source

DatePicker(String)

Creates a new instance of DatePicker.

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

Creates DatePicker by special style defined in UX.

API Level: 9
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.

API Level: 9

Properties

View Source

Date

The Date value of DatePicker.

Declaration
C#
Copy
public 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#
Copy
public event EventHandler<DateChangedEventArgs> DateChanged
Event Type
Type Description
System.EventHandler<DateChangedEventArgs>
API Level: 9

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable