Class TimePicker
Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
TimePicker is a class which provides a function that allows the user to select a time through a scrolling motion by expressing the specified value as a list. TimePicker expresses the current time using the locale information of the system.
public class TimePicker : Control, INotifyPropertyChanged, IDisposable
- Inheritance
-
objectTizen.NUI.Binding.ElementTizen.NUI.Components.ControlTimePicker
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
Constructors
View SourceTimePicker()
Creates a new instance of TimePicker.
Declaration
public TimePicker()
TimePicker(string)
Creates a new instance of TimePicker.
Declaration
public TimePicker(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | Creates TimePicker by special style defined in UX. |
TimePicker(TimePickerStyle)
Creates a new instance of TimePicker.
Declaration
public TimePicker(TimePickerStyle timePickerStyle)
Parameters
Type | Name | Description |
---|---|---|
Tizen.NUI.Components.TimePickerStyle | timePickerStyle | Creates TimePicker by style customized by user. |
Properties
View SourceIs24HourView
The is24hourview value of TimePicker.
Declaration
public bool Is24HourView { get; set; }
Property Value
Type | Description |
---|---|
bool |
Time
The hour value of TimePicker.
Declaration
public DateTime Time { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Events
View SourceTimeChanged
An event emitted when TimePicker value changed, user can subscribe or unsubscribe to this event handler.
Declaration
public event EventHandler<TimeChangedEventArgs> TimeChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><TimeChangedEventArgs> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable