Skip to main content

AppointmentViewModel Members

Stores appearance settings for an individual appointment item‘s representation.

Constructors

Name Description
AppointmentViewModel(AppointmentItem, AppointmentLabelItem, AppointmentStatusItem, Boolean, DateTimeRange) Initializes a new instance of the AppointmentViewModel class with specified settings.

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.
IconTintColor
Label Returns the appointment’s label.
ShowChangedRecurrenceImage Returns whether the appointment representation should show the Changed Recurrence () icon.
ShowRecurrenceImage Returns whether the appointment representation should show the Recurrence () icon.
ShowReminderImage Returns whether the appointment representation should show the Reminder () icon.
Status Returns the appointment’s status.
Text Gets or sets the appointment’s text. Inherited from AppointmentViewModelBase.
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 Inherited from AppointmentViewModelBase.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. 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() protected 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