iOS Guides | Samples

UIKit.UIDatePickerMode Enumeration

An enumeration of modes available to the UIDatePicker.

Syntax

[ObjCRuntime.Native]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDatePickerMode

Remarks

Valid modes for the UIDatePicker.

Members

Member NameDescription
CountDownTimerA count-down timer.
DateDate selector.
DateAndTimeDate and time selector.
TimeTime selector.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.UIDatePickerMode are listed below.

See Also: Enum

Public Fields

CountDownTimerUIDatePickerMode. A count-down timer.
DateUIDatePickerMode. Date selector.
DateAndTimeUIDatePickerMode. Date and time selector.
TimeUIDatePickerMode. Time selector.