TimePicker Class Reference

A widget to select the time. More...

Inheritance diagram for TimePicker:
Widget

List of all members.

Public Member Functions

 TimePicker ()
 Constructor.
override bool HitTest (Vector2 screenPoint)
 Hit test handler.

Properties

override float Width [get, set]
 Obtains the width.
override float Height [get, set]
 Obtains the height.
override bool PriorityHit [get, set]
 Obtains and sets whether to prioritize and respond to a touch.
int Hour [get, set]
 Obtains and sets the time (24-hour display).
int Minute [get, set]
 Obtains and sets the minute.
DateTime Time [get, set]
 Obtains and sets the time with the DateTime structure.

Events

EventHandler
< TimePickerValueChangedEventArgs
ValueChanged
 Event issued when the value is changed.

Detailed Description

A widget to select the time.


Member Function Documentation

override bool HitTest ( Vector2  screenPoint) [virtual]

Hit test handler.

Parameters:
screenPointPosition in the screen coordinate system
Returns:
If hit, then true. If not hit, then false.

Reimplemented from Widget.


Property Documentation

override float Height [get, set]

Obtains the height.

The set value is ignored.

Reimplemented from Widget.

DateTime Time [get, set]

Obtains and sets the time with the DateTime structure.

The time other than the hour and minute is ignored at the time of setting, and the date at the time of obtaining becomes 1/1/1.

override float Width [get, set]

Obtains the width.

The set value is ignored.

Reimplemented from Widget.