Definition
- Namespace:
- Tizen.NUI.Components
- Assembly:
- Tizen.NUI.Components.dll
- API Level:
- 9
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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable, IResourcesProvider
- Inheritance
-
- Implements
-
Constructors
View Source
TimePicker()
Creates a new instance of TimePicker.
Declaration
API Level: 9
View Source
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.
|
API Level: 9
View Source
TimePicker(TimePickerStyle)
Creates a new instance of TimePicker.
Declaration
public TimePicker(TimePickerStyle timePickerStyle)
Parameters
Type |
Name |
Description |
TimePickerStyle |
timePickerStyle |
Creates TimePicker by style customized by user.
|
API Level: 9
Fields
Declaration
public static readonly BindableProperty Is24HourViewProperty
Field Value
Declaration
public static readonly BindableProperty TimeProperty
Field Value
Properties
View Source
Is24HourView
The is24hourview value of TimePicker.
Declaration
public bool Is24HourView { get; set; }
Property Value
API Level: 9
Declaration
public DateTime Time { get; set; }
Property Value
Type |
Description |
DateTime |
|
API Level: 9
Methods
View Source
ApplyStyle(ViewStyle)
Applies style to TimePicker.
Declaration
public override void ApplyStyle(ViewStyle viewStyle)
Parameters
Type |
Name |
Description |
ViewStyle |
viewStyle |
The style to apply.
|
Overrides
View Source
Dispose(DisposeTypes)
Dispose TimePicker and all children on it.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
View Source
GetNextFocusableView(View, View.FocusDirection, Boolean)
ToDo : only key navigation is enabled, and value editing is added as an very simple operation. by toggling enter key, it switches edit mode.
ToDo : this should be fixed and changed properly by owner. (And UX SPEC should be referenced also)
Declaration
public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
Parameters
Returns
Overrides
View Source
OnEnabled(Boolean)
Internal callback of enabled property changes.
Inherited view can override this method to implements enabled property changes.
Declaration
protected override void OnEnabled(bool enabled)
Parameters
Type |
Name |
Description |
Boolean |
enabled |
|
Overrides
View Source
OnInitialize()
Initialize TimePicker object.
Declaration
public override void OnInitialize()
Overrides
Events
View Source
TimeChanged
An event emitted when TimePicker value changed, user can subscribe or unsubscribe to this event handler.
Declaration
public event EventHandler<TimeChangedEventArgs> TimeChanged
Event Type
API Level: 9
Implements
Extension Methods