TemporalPicker

References
public class TemporalPicker
A date time picker containing one or more temporal strips.

Constructors

TemporalPicker

#
public TemporalPicker(DateTime lowerLimit, DateTime upperLimit, params TemporalGranularity[] granularities)
lowerLimit (DateTime)
upperLimit (DateTime)
granularities (params TemporalGranularity[])

TemporalPicker

#
public TemporalPicker(params TemporalGranularity[] granularities)
granularities (params TemporalGranularity[])

Properties

Date

#
public DateTime Date { get; set; }
Gets or sets the currently selected date.

Day

#
public DayStrip Day { get; }

Frame

#
public RectangleF Frame { get; set; }
Gets or sets the frame withis which this picker is active.

Hour

#
public HourStrip Hour { get; }

IdealHeight

#
public int IdealHeight { get; }
Gets the ideal height this picker wants to have given the currently active strips.

LowerLimit

#
public DateTime LowerLimit { get; }
Earliest allowed time in this picker.

Minute

#
public MinuteStrip Minute { get; }

Month

#
public MonthStrip Month { get; }

Second

#
public SecondStrip Second { get; }

UpperLimit

#
public DateTime UpperLimit { get; }
Latest allowed time in this picker.

Year

#
public YearStrip Year { get; }

Methods

ContinueDrag

#
public bool ContinueDrag(PointF mouse, bool smooth)
mouse (PointF)
smooth (bool)

Draw

#
public void Draw(Context context, Color text)
context (Context)
text (Color)

EndDrag

#
public bool EndDrag()

KeyDuringDrag

#
public bool KeyDuringDrag(KeyEventArgs e)
e (KeyEventArgs)

StartDrag

#
public bool StartDrag(PointF mouse)
mouse (PointF)

Events

DateChanged

#
Raised whenever the Date value changes.