Class AppointmentDialogViewModel
Inherited Members
Namespace: Telerik.UI.Xaml.Controls
Assembly: Telerik.WinUI.Controls.dll
Syntax
public class AppointmentDialogViewModel : SchedulerDialogViewModel, INotifyPropertyChanged, IDataErrorInfo
Constructors
AppointmentDialogViewModel(Occurrence, AppointmentViewMode, ISchedulerDialogHost, IEnumerable<IResourceType>, IEnumerable<ITimeMarker>, IEnumerable<ICategory>, TimeZoneInfo, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)
Declaration
public AppointmentDialogViewModel(Occurrence occurrence, AppointmentViewMode viewMode, ISchedulerDialogHost dialogHost, IEnumerable<IResourceType> resourceTypes, IEnumerable<ITimeMarker> timeMarkers, IEnumerable<ICategory> categories, TimeZoneInfo appointmentTimeZone, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
|
Occurrence
occurrence
|
|
AppointmentViewMode
viewMode
|
|
ISchedulerDialogHost
dialogHost
|
|
System.Collections.Generic.IEnumerable<IResourceType>
resourceTypes
|
|
System.Collections.Generic.IEnumerable<ITimeMarker>
timeMarkers
|
|
System.Collections.Generic.IEnumerable<ICategory>
categories
|
|
System.TimeZoneInfo
appointmentTimeZone
|
|
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
|
AppointmentDialogViewModel(Occurrence, AppointmentViewMode, ISchedulerDialogHost, IEnumerable<IResourceType>, IEnumerable<ITimeMarker>, IEnumerable<ICategory>, TimeZoneInfo, TimeZoneInfo, Func<SchedulerDialogViewModel, Nullable<Boolean>, Boolean>)
Declaration
public AppointmentDialogViewModel(Occurrence occurrence, AppointmentViewMode viewMode, ISchedulerDialogHost dialogHost, IEnumerable<IResourceType> resourceTypes, IEnumerable<ITimeMarker> timeMarkers, IEnumerable<ICategory> categories, TimeZoneInfo appointmentTimeZone, TimeZoneInfo schedulerTimeZone, Func<SchedulerDialogViewModel, Nullable<bool>, bool> confirmDialogClose)
Parameters
|
Occurrence
occurrence
|
|
AppointmentViewMode
viewMode
|
|
ISchedulerDialogHost
dialogHost
|
|
System.Collections.Generic.IEnumerable<IResourceType>
resourceTypes
|
|
System.Collections.Generic.IEnumerable<ITimeMarker>
timeMarkers
|
|
System.Collections.Generic.IEnumerable<ICategory>
categories
|
|
System.TimeZoneInfo
appointmentTimeZone
|
|
System.TimeZoneInfo
schedulerTimeZone
|
|
System.Func<SchedulerDialogViewModel, System.Nullable<System.Boolean>, System.Boolean>
confirmDialogClose
|
Properties
ActualEnd
Declaration
public DateTime ActualEnd { get; set; }
Property Value
|
System.DateTime
|
ActualStart
Declaration
public DateTime ActualStart { get; set; }
Property Value
|
System.DateTime
|
CanEditParentAppointment
Declaration
public bool CanEditParentAppointment { get; }
Property Value
|
System.Boolean
|
CanRestoreToOriginalOccurrence
Declaration
public bool CanRestoreToOriginalOccurrence { get; }
Property Value
|
System.Boolean
|
Categories
Declaration
public IEnumerable<ICategory> Categories { get; }
Property Value
|
System.Collections.Generic.IEnumerable<ICategory>
|
CategoriesEmptyText
Declaration
public string CategoriesEmptyText { get; }
Property Value
|
System.String
|
ClearSelectionButtonContent
Declaration
public string ClearSelectionButtonContent { get; }
Property Value
|
System.String
|
Error
Declaration
public string Error { get; }
Property Value
|
System.String
|
IsAllDayEditable
Declaration
public bool IsAllDayEditable { get; set; }
Property Value
|
System.Boolean
|
IsAllDayEvent
Declaration
public bool IsAllDayEvent { get; set; }
Property Value
|
System.Boolean
|
IsHighImportance
Declaration
public bool IsHighImportance { get; set; }
Property Value
|
System.Boolean
|
IsLowImportance
Declaration
public bool IsLowImportance { get; set; }
Property Value
|
System.Boolean
|
IsNotRecurrent
Declaration
public bool IsNotRecurrent { get; }
Property Value
|
System.Boolean
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
System.Boolean
|
Item[String]
Declaration
public string this[string columnName] { get; }
Parameters
|
System.String
columnName
|
Property Value
|
System.String
|
Occurrence
ResourceTypes
Declaration
public IEnumerable<ResourceTypeViewModel> ResourceTypes { get; }
Property Value
|
System.Collections.Generic.IEnumerable<ResourceTypeViewModel>
|
ResourceTypesVisibility
Declaration
public Visibility ResourceTypesVisibility { get; }
Property Value
|
Microsoft.UI.Xaml.Visibility
|
TimeMarkers
Declaration
public IEnumerable<ITimeMarker> TimeMarkers { get; }
Property Value
|
System.Collections.Generic.IEnumerable<ITimeMarker>
|
TimeMarkersEmptyText
Declaration
public string TimeMarkersEmptyText { get; }
Property Value
|
System.String
|
TimeZone
Declaration
public TimeZoneInfo TimeZone { get; set; }
Property Value
|
System.TimeZoneInfo
|
ViewMode
Methods
BeginEditParentAppointment()
Declaration
public void BeginEditParentAppointment()
BeginRestoreExceptionOccurrence()
Declaration
public void BeginRestoreExceptionOccurrence()
CanConfirm()
Declaration
protected override bool CanConfirm()
Returns
|
System.Boolean
|
Overrides
EditRecurrenceRule()
Declaration
public void EditRecurrenceRule()
OnEditParentAppointment(EventArgs)
Declaration
protected virtual void OnEditParentAppointment(EventArgs eventArgs)
Parameters
|
System.EventArgs
eventArgs
|
OnRecurrenceRuleEdited(EventArgs)
Declaration
protected virtual void OnRecurrenceRuleEdited(EventArgs eventArgs)
Parameters
|
System.EventArgs
eventArgs
|
OnRestoreExceptionOccurrence(EventArgs)
Declaration
protected virtual void OnRestoreExceptionOccurrence(EventArgs eventArgs)
Parameters
|
System.EventArgs
eventArgs
|
ValidateDates()
Declaration
public string ValidateDates()
Returns
|
System.String
|
ValidateDialog()
Declaration
public virtual string ValidateDialog()
Returns
|
System.String
|
ValidateDialog(String)
Declaration
public virtual string ValidateDialog(string propertyName)
Parameters
|
System.String
propertyName
|
Returns
|
System.String
|
Events
EditParentAppointment
Declaration
public event EventHandler EditParentAppointment
Event Type
|
System.EventHandler
|
RecurrenceRuleEdited
Declaration
public event EventHandler RecurrenceRuleEdited
Event Type
|
System.EventHandler
|
RestoreExceptionOccurrence
Declaration
public event EventHandler RestoreExceptionOccurrence
Event Type
|
System.EventHandler
|