Xamarin.Forms.TimePicker Class
A Xamarin.Forms.View control that provides time picking.

See Also: TimePicker Members

Syntax

public class TimePicker : View

Remarks

The visual representation of a TimePicker is very similar to the one of Xamarin.Forms.Entry, except that a special control for picking a time appears in place of a keyboard.

The following example shows declaration of a TimePicker with a default time set.

C# Example

var beeroclock = new TimePicker () { Time = new TimeSpan (17,0,0) };
    

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0