Click or drag to resize
AppointmentDialogViewModel Class
Represents the ViewModel for the AppointmentDialog.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class AppointmentDialogViewModel : SchedulerDialogViewModel, 
	IDataErrorInfo

The AppointmentDialogViewModel type exposes the following members.

Constructors
  NameDescription
Public methodAppointmentDialogViewModel(Occurrence, AppointmentViewMode, IScheduleViewDialogHost, IEnumerableIResourceType, IEnumerableITimeMarker, IEnumerableICategory, TimeZoneInfo, FuncSchedulerDialogViewModel, NullableBoolean, Boolean)
Public methodAppointmentDialogViewModel(Occurrence, AppointmentViewMode, IScheduleViewDialogHost, IEnumerableIResourceType, IEnumerableITimeMarker, IEnumerableICategory, TimeZoneInfo, TimeZoneInfo, FuncSchedulerDialogViewModel, NullableBoolean, Boolean)
Initializes a new instance of the AppointmentDialogViewModel class.
Top
Methods
  NameDescription
Public methodBeginEditParentAppointment
Begins editing of the parent appointment.
Public methodBeginRestoreExceptionOccurrence
Restores the exception occurrence if the changes are canceled.
Public methodCancel
Cancels the operation.
(Inherited from SchedulerDialogViewModel.)
Protected methodCanConfirm
Check whether the changes can be confirmed or not.
(Overrides SchedulerDialogViewModelCanConfirm.)
Public methodConfirm
Executed confirmation logic if can confirm.
(Inherited from SchedulerDialogViewModel.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViewModelBase.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from ViewModelBase.)
Public methodEditRecurrenceRule
Edits the recurrence rule.
Protected methodOnCancelled
Fires Cancelled event.
(Inherited from SchedulerDialogViewModel.)
Protected methodOnConfirmed
Confirms the changes on the ScheduleDialogViewModel.
(Inherited from SchedulerDialogViewModel.)
Protected methodOnEditParentAppointment
Fires the EditParentAppointment event.
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewModelBase.)
Protected methodOnRecurrenceRuleEdited
Fires the RecurrenceRuleEdited event.
Protected methodOnRestoreExceptionOccurrence
Fires the RestoreExceptionOccurrence event.
Public methodValidateDates
Validates the ActualStart and ActualEnd properties.
Public methodValidateDialog
Validates the dialog.
Public methodValidateDialog(String)
Validates the AppointmentDialog using a property.
Protected methodVerifyPropertyName
Warns the developer if this object does not have a public property with the specified name. This method does not exist in a Release build.
(Inherited from ViewModelBase.)
Top
Properties
  NameDescription
Public propertyActualEnd
Gets or sets the actual end of the occurrence.
Public propertyActualStart
Sets or sets the actual start of the occurrence.
Public propertyAdditionalData
Gets or sets the additional data set to the view model.
(Inherited from SchedulerDialogViewModel.)
Public propertyCanEditParentAppointment
Gets whether the parent appointment can be edited.
Public propertyCanRestoreToOriginalOccurrence
Gets whether to restore to original occurrence or not.
Public propertyCategories
Gets the categories collection.
Public propertyCategoriesEmptyText
Gets the text which will be shown when the Categories selection is empty.
Public propertyClearSelectionButtonContent
Gets the content for the ClearSelection button.
Protected propertyDialogHost
The DialogHost for this ViewModel.
(Inherited from SchedulerDialogViewModel.)
Public propertyError
Gets the validation error message.
Public propertyIsAllDayEditable
Gets or sets whether IsAllDay is editable or not.
Public propertyIsAllDayEvent
Gets or sets whether is AllDay event or not.
Public propertyIsHighImportance
Gets or sets whether the occurrence is with high importance or not.
Public propertyIsLowImportance
Gets or sets whether the occurrence is with low importance or not.
Public propertyIsNotRecurrent
Gets whether the occurrence is recurrent or not.
Public propertyIsReadOnly
Gets whether the AppointmentDialog is in read-only state or not.
Public propertyItem
Gets the error message for the property with the given name.
Public propertyOccurrence
Gets or sets the occurrence.
Public propertyResourceTypes
Gets the resource types.
Public propertyResourceTypesVisibility
Gets the Visibility of the ResourceTypes.
Public propertyTimeMarkers
Gets the TimeMarkers collection.
Public propertyTimeMarkersEmptyText
Gets the text which will be shown when the TimeMarkers selection is empty.
Public propertyTimeZone
Gets or sets the TimeZone.
Public propertyViewMode
Gets the appointment data-entry modes.
Top
Events
  NameDescription
Public eventCancelled
Occurs when the dialog changes are canceled.
(Inherited from SchedulerDialogViewModel.)
Public eventConfirmed
Occurs when the dialog changes are confirmed.
(Inherited from SchedulerDialogViewModel.)
Public eventEditParentAppointment
Occurs when an parent appointment is edited.
Public eventPropertyChanged
Raised when a property on this object has a new value.
(Inherited from ViewModelBase.)
Public eventRecurrenceRuleEdited
Occurs when a recurrence rule is edited.
Public eventRestoreExceptionOccurrence
Occurs when an exception occurrence is restored.
Top
See Also