Interface IReadOnlyBehavior
Defines basic basic methods and properties of a ReadOnlyBehavior.
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public interface IReadOnlyBehavior
Methods
CanDeleteAppointment(IReadOnlySettings, IOccurrence)
Check whether the appointment can be deleted or not.
Declaration
bool CanDeleteAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
IOccurrence
occurence
The occurrence. |
Returns
System.Boolean
Whether the appointment can be deleted or not. |
CanDragAppointment(IReadOnlySettings, IOccurrence)
Check whether the appointment can be dragged or not.
Declaration
bool CanDragAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
IOccurrence
occurence
The occurrence. |
Returns
System.Boolean
Whether the appointment can be dragged or not. |
CanEditAppointment(IReadOnlySettings, IOccurrence)
Check whether the appointment can be edited or not.
Declaration
bool CanEditAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
IOccurrence
occurence
The occurrence. |
Returns
System.Boolean
Whether the appointment can be edited or not. |
CanEditSlot(IReadOnlySettings, Slot)
Check whether the slot can be edited or not.
Declaration
bool CanEditSlot(IReadOnlySettings settings, Slot slot)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
Slot
slot
The slot. |
Returns
System.Boolean
Whether the slot can be edited or not. |
CanResizeAppointment(IReadOnlySettings, IOccurrence)
Check whether the appointment can be resized or not.
Declaration
bool CanResizeAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
IOccurrence
occurence
The occurrence. |
Returns
System.Boolean
Whether the appointment can be resized or not. |
CanSaveAppointment(IReadOnlySettings, IOccurrence)
Check whether the appointment can be saved or not.
Declaration
bool CanSaveAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters
IReadOnlySettings
settings
The configuration setting for the behavior. |
IOccurrence
occurence
The occurrence. |
Returns
System.Boolean
Whether the appointment can be saved or not. |