Show / Hide Table of Contents

Class ISN_UIDateTimePicker

A control used for the inputting of date and time values. https://developer.apple.com/documentation/uikit/uidatepicker?language=objc

Inheritance
System.Object
ISN_UIDateTimePicker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UIDateTimePicker

Properties

DatePickerMode

Use this property to change the type of information displayed by the date picker. It determines whether the date picker allows selection of a date, a time, both date and time, or a countdown time. The default mode is DateAndTime. See ISN_UIDateTimePickerMode for a list of mode constants.

Declaration
public ISN_UIDateTimePickerMode DatePickerMode { get; set; }
Property Value
Type Description
ISN_UIDateTimePickerMode

MinuteInterval

The interval at which the date picker should display minutes.

Use this property to set the interval displayed by the minutes wheel (for example, 15 minutes). The interval value must be evenly divided into 60; if it is not, the default value is used. The default and minimum values are 1; the maximum value is 30.

Declaration
public int MinuteInterval { get; set; }
Property Value
Type Description
System.Int32

OnPickerDateChanged

The event is fired every time user changes the date while using picker in any mode

Declaration
public static SA_iEvent<DateTime> OnPickerDateChanged { get; }
Property Value
Type Description
SA_iEvent<DateTime>

Methods

SetCountDownDuration(TimeSpan)

Use this property to get and set the currently selected value when the date picker’s mode property is set to CountdownTimer. This property is of type and therefore is measured in seconds, although the date picker displays only hours and minutes. If the mode of the date picker is not CountdownTimer, this value is undefined; refer instead to the date property. The default value is 0.0 and the maximum value is 23:59 (86,399 seconds).

Declaration
public void SetCountDownDuration(TimeSpan duration)
Parameters
Type Name Description
TimeSpan duration

Duration.

SetDate(DateTime)

Sets the date to display in the date picker

Declaration
public void SetDate(DateTime date)
Parameters
Type Name Description
DateTime date

Show(Action<DateTime>)

Declaration
public void Show(Action<DateTime> callback)
Parameters
Type Name Description
Action<DateTime> callback
In This Article
Back to top Generated by DocFX