TimePicker.Hour Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the currently selected hour using 24-hour time. -or- Sets the currently selected hour using 24-hour time.
public virtual int Hour { [Android.Runtime.Register("getHour", "()I", "GetGetHourHandler", ApiSince=23)] get; [Android.Runtime.Register("setHour", "(I)V", "GetSetHour_IHandler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getHour", "()I", "GetGetHourHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setHour", "(I)V", "GetSetHour_IHandler", ApiSince=23)>]
member this.Hour : int with get, set
Property Value
the currently selected hour, in the range (0-23)
- Attributes
Remarks
Property getter documentation:
Returns the currently selected hour using 24-hour time.
Java documentation for android.widget.TimePicker.getHour()
.
Property setter documentation:
Sets the currently selected hour using 24-hour time.
Java documentation for android.widget.TimePicker.setHour(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.