Class ReadOnlyBehavior
Represents basic implementation of IReadOnlyBehavior.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class ReadOnlyBehavior : Object, IReadOnlyBehavior
Constructors
ReadOnlyBehavior()
Methods
CanDeleteAppointment(IReadOnlySettings, IOccurrence)
Determines whether this occurrence or appointment can be deleted when it resides in read-only range.
Declaration
public virtual bool CanDeleteAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
Parameters
IRead The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.
|
Implements
CanDragAppointment(IReadOnlySettings, IOccurrence)
Determines whether this occurrence or appointment can be dragged when it resides in read-only range.
Declaration
public virtual bool CanDragAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
Parameters
IRead The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.
|
Implements
CanEditAppointment(IReadOnlySettings, IOccurrence)
Determines whether this occurrence or appointment can be edit via edit dialog.
Declaration
public virtual bool CanEditAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
Parameters
IRead The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.
|
Implements
CanEditSlot(IReadOnlySettings, Slot)
Determines whether this the specified slot allows appointments to be added.
Declaration
public virtual bool CanEditSlot(IReadOnlySettings readOnlySettings, Slot slot)
Parameters
IRead The settings for the behavior. |
Slot
slot
The slot. |
Returns
System.
|
Implements
CanResizeAppointment(IReadOnlySettings, IOccurrence)
Determines whether this occurrence or appointment can be resized when it resides in read-only range.
Declaration
public virtual bool CanResizeAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
Parameters
IRead The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.
|
Implements
CanSaveAppointment(IReadOnlySettings, IOccurrence)
Determines whether this occurrence or appointment can be saved via edit dialog.
Declaration
public virtual bool CanSaveAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
Parameters
IRead The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.
|