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.

C#
Copy
public class TimePicker : Control, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
TimePicker
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

TimePicker()

Creates a new instance of TimePicker.

Declaration
C#
Copy
public TimePicker()
View Source

TimePicker(string)

Creates a new instance of TimePicker.

Declaration
C#
Copy
public TimePicker(string style)
Parameters
Type Name Description
string style

Creates TimePicker by special style defined in UX.

View Source

TimePicker(TimePickerStyle)

Creates a new instance of TimePicker.

Declaration
C#
Copy
public TimePicker(TimePickerStyle timePickerStyle)
Parameters
Type Name Description
Tizen.NUI.Components.TimePickerStyle timePickerStyle

Creates TimePicker by style customized by user.

Properties

View Source

Is24HourView

The is24hourview value of TimePicker.

Declaration
C#
Copy
public bool Is24HourView { get; set; }
Property Value
Type Description
bool
View Source

Time

The hour value of TimePicker.

Declaration
C#
Copy
public DateTime Time { get; set; }
Property Value
Type Description
System.DateTime

Events

View Source

TimeChanged

An event emitted when TimePicker value changed, user can subscribe or unsubscribe to this event handler.

Declaration
C#
Copy
public event EventHandler<TimeChangedEventArgs> TimeChanged
Event Type
Type Description
System.EventHandler<TEventArgs><TimeChangedEventArgs>

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable