AppointmentViewModel Members

The storage for appearance settings values of an individual appointment item's representation.

Constructors

Name Description
AppointmentViewModel(AppointmentItem, AppointmentLabelItem, AppointmentStatusItem, Boolean, DateTimeRange)

Initializes a new AppointmentViewModel instance for the specified appointment with the passed label, status and other parameters.

Properties

Name Description
Appointment

Returns the appointment for whose representation the view model provides data.

BackgroundColor

Gets or sets the color the appointment representation uses to paint its background.

BorderColor

Gets or sets the color the appointment representation uses to paint its border.

BorderThickness

Gets or sets the border thickness of the appointment representation.

ContentPadding

Gets or sets the content padding of the appointment representation.

CustomFields

Returns the appointment's CustomFields.

Label

Returns the appointment's label.

ShowChangedRecurrenceImage

Returns whether the appointment representation should show the Changed Recurrence (Changed Recurrence Icon) icon.

ShowRecurrenceImage

Returns whether the appointment representation should show the Recurrence (Recurrence Icon) icon.

ShowReminderImage
Status

Returns the appointment's status.

Text

Returns text the appointment representation shows.

TextColor

Gets or sets the color the appointment representation uses to paint its text.

TextFontAttributes

Gets or sets whether the appointment representation's text is bold, italic, neither, or both.

TextFontFamily

Gets or sets the name of the font family the appointment representation uses to draw its text.

TextFontSize

Gets or sets the font size for text the appointment representation shows.

VisibleInterval

Returns the appointment's visible interval.

Methods

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