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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.Boolean
|
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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.Boolean
|
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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.Boolean
|
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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
Slot
slot
The slot. |
Returns
System.Boolean
|
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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.Boolean
|
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
IReadOnlySettings
readOnlySettings
The settings for the behavior. |
IOccurrence
occurrence
The occurrence or appointment object. |
Returns
System.Boolean
|