Skip to main content

TimeRulerCellViewModel Members

The storage for appearance settings values of an individual time ruler cell.

Constructors

Name Description
TimeRulerCellViewModel(DateTime, DateTimeRange, TimeSpan) Initializes a new instance of the TimeRulerCellViewModel class with specified settings.

Properties

Name Description
BackgroundColor Gets or sets the color the time ruler cell uses to paint its background.
ContentPadding Gets or sets the padding of the cell’s content.
IsEndTimeIntervalBoundary Returns whether the time slot the cell represents is at the end of the time interval to which the slot belongs.
IsStartTimeIntervalBoundary Returns whether the time slot the cell represents is at the start of the time interval to which the slot belongs.
IsTimeDesignatorBoundary Returns whether the cell represents the time slot that contains midday / midnight.
TextColor Gets or sets the color the cell uses to paint its text.
TextFontAttributes Gets or sets attributes that specifies whether the cell’s text is bold, italic, or neither.
TextFontFamily Gets or sets the font family that the cell uses to display its text.
TextFontSize Gets or sets the font size that the cell uses to display its text.
TextFormat Gets or sets the format string that the cell uses to format the time it displays.
TickColor Gets or sets the color that the cell uses to paint its tick.
TickLength Gets or sets the tick length of the cell.
TickThickness Gets or sets the tick thickness of the cell.
Time Returns start time of the time slot the cell represents.
TimeSlot Returns the duration of the time slot the cell represents.
TimeText Return the text the cell creates for Time by TextFormat.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetType() Gets the Type of the current instance. Inherited from System.Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also