InterfaceIReadOnlyBehavior
Defines basic basic methods and properties of a ReadOnlyBehavior.
Definition
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
settings
The configuration setting for the behavior.
occurence
The occurrence.
Returns
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
settings
The configuration setting for the behavior.
occurence
The occurrence.
Returns
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
settings
The configuration setting for the behavior.
occurence
The occurrence.
Returns
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
settings
The configuration setting for the behavior.
slot
The slot.
Returns
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
settings
The configuration setting for the behavior.
occurence
The occurrence.
Returns
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
settings
The configuration setting for the behavior.
occurence
The occurrence.
Returns
Whether the appointment can be saved or not.