Class EditAppointmentDialog
Inherited Members
Namespace: Telerik.WinControls.UI.Scheduler.Dialogs
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class EditAppointmentDialog : RadSchedulerDialog, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, IEditAppointmentDialog
Constructors
EditAppointmentDialog()
Declaration
public EditAppointmentDialog()
EditAppointmentDialog(IEvent, ISchedulerData)
Declaration
public EditAppointmentDialog(IEvent appointment, ISchedulerData schedulerData)
Parameters
IEvent
appointment
|
ISchedulerData
schedulerData
|
EditAppointmentDialog(IOpenRecurringAppointmentDialog)
Declaration
public EditAppointmentDialog(IOpenRecurringAppointmentDialog openRecurringAppointmentDialog)
Parameters
IOpenRecurringAppointmentDialog
openRecurringAppointmentDialog
|
Fields
buttonCancel
buttonDelete
buttonOK
buttonRecurrence
checkedCmbResource
chkAllDay
cmbBackground
cmbResource
cmbShowTimeAs
dateEnd
dateStart
editOccurrence
Declaration
protected bool editOccurrence
Field Value
System.Boolean
|
errorProvider
Declaration
protected ErrorProvider errorProvider
Field Value
System.Windows.Forms.ErrorProvider
|
labelBackground
labelEndTime
labelLocation
labelResource
labelStartTime
labelStatus
labelSubject
openRecurringAppointmentDialog
Declaration
protected IOpenRecurringAppointmentDialog openRecurringAppointmentDialog
Field Value
IOpenRecurringAppointmentDialog
|
radDropDownListReminder
radLabelReminder
radSeparator1
radSeparator2
radSeparator3
recurringAppointment
saveRecurringAppointment
Declaration
protected bool saveRecurringAppointment
Field Value
System.Boolean
|
textBoxDescription
timeEnd
timeStart
txtLocation
txtSubject
Properties
Appointment
SchedulerData
Methods
ApplyRecurrenceDialogSettings(IEditRecurrenceDialog)
Declaration
protected virtual void ApplyRecurrenceDialogSettings(IEditRecurrenceDialog editRecurrenceDialog)
Parameters
IEditRecurrenceDialog
editRecurrenceDialog
|
ApplySettingsToEvent(IEvent)
Declaration
protected virtual void ApplySettingsToEvent(IEvent targetEvent)
Parameters
IEvent
targetEvent
|
CanHaveMultipleResources()
In unbound mode, all apointments support multiple resources. With data binding we need to check if we have One-to-Many or Many-to-Many relationship between the Appointments and Resources entities.
Declaration
protected virtual bool CanHaveMultipleResources()
Returns
System.Boolean
|
ClearErrors()
Declaration
protected virtual void ClearErrors()
CreateNewEvent()
CreateRecurrenceDialog(IEvent)
Declaration
protected virtual IEditRecurrenceDialog CreateRecurrenceDialog(IEvent recurringAppointment)
Parameters
IEvent
recurringAppointment
|
Returns
IEditRecurrenceDialog
|
DeleteEvent()
Declaration
protected virtual void DeleteEvent()
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
true if managed resources should be disposed; otherwise, false. |
Overrides
EditAppointment(IEvent, ISchedulerData)
Declaration
public virtual bool EditAppointment(IEvent appointment, ISchedulerData schedulerData)
Parameters
IEvent
appointment
|
ISchedulerData
schedulerData
|
Returns
System.Boolean
|
Implements
GetAppointmentEnd()
Declaration
protected virtual DateTime GetAppointmentEnd()
Returns
System.DateTime
|
GetAppointmentStart()
Declaration
protected virtual DateTime GetAppointmentStart()
Returns
System.DateTime
|
GetReminder(Nullable<TimeSpan>)
Declaration
protected virtual IAppointmentReminderInfo GetReminder(TimeSpan? reminderValue)
Parameters
System.Nullable<System.TimeSpan>
reminderValue
|
Returns
IAppointmentReminderInfo
|
GetSelectedResources()
Declaration
protected virtual IList<EventId> GetSelectedResources()
Returns
System.Collections.Generic.IList<EventId>
|
LoadBackgrounds()
Declaration
protected virtual void LoadBackgrounds()
LoadReminders()
Declaration
protected virtual void LoadReminders()
LoadResources()
Declaration
protected virtual void LoadResources()
LoadSettingsFromEvent(IEvent)
Declaration
protected virtual void LoadSettingsFromEvent(IEvent sourceEvent)
Parameters
IEvent
sourceEvent
|
LoadStatuses()
Declaration
protected virtual void LoadStatuses()
LocalizeDialog(RadSchedulerLocalizationProvider)
Declaration
protected override void LocalizeDialog(RadSchedulerLocalizationProvider localizationProvider)
Parameters
RadSchedulerLocalizationProvider
localizationProvider
|
Overrides
OnDeleteButtonClicked()
Declaration
protected virtual void OnDeleteButtonClicked()
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnLocationChanged(EventArgs)
Declaration
protected override void OnLocationChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnShown(EventArgs)
Declaration
protected override void OnShown(EventArgs e)
Parameters
System.EventArgs
e
|
Overrides
OnThemeNameChanged(ThemeNameChangedEventArgs)
Declaration
protected override void OnThemeNameChanged(ThemeNameChangedEventArgs e)
Parameters
ThemeNameChangedEventArgs
e
|
Overrides
ParseReminderInput(String)
Declaration
protected virtual TimeSpan? ParseReminderInput(string text)
Parameters
System.String
text
|
Returns
System.Nullable<System.TimeSpan>
|
ParseTimeSpan(Nullable<TimeSpan>)
Declaration
protected virtual string ParseTimeSpan(TimeSpan? time)
Parameters
System.Nullable<System.TimeSpan>
time
|
Returns
System.String
|
RecurrenceSettingsShouldBeSaved()
Declaration
protected virtual bool RecurrenceSettingsShouldBeSaved()
Returns
System.Boolean
|
SetEndDateAndTime(DateTime)
Declaration
protected virtual void SetEndDateAndTime(DateTime end)
Parameters
System.DateTime
end
|
SetStartDateAndTime(DateTime)
Declaration
protected virtual void SetStartDateAndTime(DateTime start)
Parameters
System.DateTime
start
|
ShouldUpdateResources(IList<EventId>)
Declaration
protected virtual bool ShouldUpdateResources(IList<EventId> initialResources)
Parameters
System.Collections.Generic.IList<EventId>
initialResources
|
Returns
System.Boolean
|
ShowRecurrenceDialog()
Declaration
public virtual void ShowRecurrenceDialog()
Implements
ValidateExceptionDates(DateTime, DateTime)
Declaration
protected virtual string ValidateExceptionDates(DateTime targetStartDate, DateTime targetEndDate)
Parameters
System.DateTime
targetStartDate
|
System.DateTime
targetEndDate
|
Returns
System.String
|
ValidateInput()
Declaration
protected virtual bool ValidateInput()
Returns
System.Boolean
|
ValidateReminderInput()
Declaration
protected virtual void ValidateReminderInput()
Explicit Interface Implementations
IEditAppointmentDialog.add_Shown(EventHandler)
Declaration
void IEditAppointmentDialog.add_Shown(EventHandler value)
Parameters
System.EventHandler
value
|
Implements
IEditAppointmentDialog.remove_Shown(EventHandler)
Declaration
void IEditAppointmentDialog.remove_Shown(EventHandler value)
Parameters
System.EventHandler
value
|
Implements
IEditAppointmentDialog.ShowDialog()
Declaration
DialogResult IEditAppointmentDialog.ShowDialog()
Returns
System.Windows.Forms.DialogResult
|