ReadOnlyBehavior
Represents basic implementation of IReadOnlyBehavior.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class ReadOnlyBehavior : IReadOnlyBehavior
Inheritance: objectReadOnlyBehavior
Implements:
Constructors
Initializes a new instance of the ReadOnlyBehavior class.
public ReadOnlyBehavior()
Methods
Determines whether this occurrence or appointment can be deleted when it resides in read-only range.
public virtual bool CanDeleteAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
The settings for the behavior.
occurrenceIOccurrenceThe occurrence or appointment object.
Returns:true if this occurrence can be deleted otherwise, false.
Implements:
Determines whether this occurrence or appointment can be dragged when it resides in read-only range.
public virtual bool CanDragAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
The settings for the behavior.
occurrenceIOccurrenceThe occurrence or appointment object.
Returns:true if this occurrence can be dragged otherwise, false.
Implements:
Determines whether this occurrence or appointment can be edit via edit dialog.
public virtual bool CanEditAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
The settings for the behavior.
occurrenceIOccurrenceThe occurrence or appointment object.
Returns:true if this occurrence can be edit; otherwise, false.
Implements:
Determines whether this the specified slot allows appointments to be added.
public virtual bool CanEditSlot(IReadOnlySettings readOnlySettings, Slot slot)
The settings for the behavior.
slotSlotThe slot.
Returns:true if the specified slot allows appointments to be added; otherwise, false.
Implements:
Determines whether this occurrence or appointment can be resized when it resides in read-only range.
public virtual bool CanResizeAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
The settings for the behavior.
occurrenceIOccurrenceThe occurrence or appointment object.
Returns:true if this occurrence can be resized otherwise, false.
Implements:
Determines whether this occurrence or appointment can be saved via edit dialog.
public virtual bool CanSaveAppointment(IReadOnlySettings readOnlySettings, IOccurrence occurrence)
The settings for the behavior.
occurrenceIOccurrenceThe occurrence or appointment object.
Returns:true if this occurrence can be saved; otherwise, false.
Implements: