TemporalStrip

References
public abstract class TemporalStrip
A single scrolling strip in a datetime picker.

Constructors

TemporalStrip

#
protected TemporalStrip(TemporalGranularity granularity, Font font = null)
granularity (TemporalGranularity)
font (Font = null)

Properties

CompetingLabels

#
protected abstract IEnumerable<string> CompetingLabels { get; }
Iterate over all competing label strings so we may determine the widest of them all and adjust the spacing accordingly.

Font

#
public Font Font { get; set; }
Gets or sets the font to use to draw labels on this strip.

Granularity

#
public TemporalGranularity Granularity { get; }
Gets the granularity of this strip.

Methods

UpdateSpacing

#
protected void UpdateSpacing()