Interface
IReadOnlyBehavior

Defines basic basic methods and properties of a ReadOnlyBehavior.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public interface IReadOnlyBehavior

Methods

CanDeleteAppointment(IReadOnlySettings, IOccurrence)

Check whether the appointment can be deleted or not.

Declaration

cs-api-definition
bool CanDeleteAppointment(IReadOnlySettings settings, IOccurrence occurence)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

occurence

IOccurrence

The occurrence.

Returns

bool

Whether the appointment can be deleted or not.

CanDragAppointment(IReadOnlySettings, IOccurrence)

Check whether the appointment can be dragged or not.

Declaration

cs-api-definition
bool CanDragAppointment(IReadOnlySettings settings, IOccurrence occurence)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

occurence

IOccurrence

The occurrence.

Returns

bool

Whether the appointment can be dragged or not.

CanEditAppointment(IReadOnlySettings, IOccurrence)

Check whether the appointment can be edited or not.

Declaration

cs-api-definition
bool CanEditAppointment(IReadOnlySettings settings, IOccurrence occurence)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

occurence

IOccurrence

The occurrence.

Returns

bool

Whether the appointment can be edited or not.

CanEditSlot(IReadOnlySettings, Slot)

Check whether the slot can be edited or not.

Declaration

cs-api-definition
bool CanEditSlot(IReadOnlySettings settings, Slot slot)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

slot

Slot

The slot.

Returns

bool

Whether the slot can be edited or not.

CanResizeAppointment(IReadOnlySettings, IOccurrence)

Check whether the appointment can be resized or not.

Declaration

cs-api-definition
bool CanResizeAppointment(IReadOnlySettings settings, IOccurrence occurence)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

occurence

IOccurrence

The occurrence.

Returns

bool

Whether the appointment can be resized or not.

CanSaveAppointment(IReadOnlySettings, IOccurrence)

Check whether the appointment can be saved or not.

Declaration

cs-api-definition
bool CanSaveAppointment(IReadOnlySettings settings, IOccurrence occurence)

Parameters

settings

IReadOnlySettings

The configuration setting for the behavior.

occurence

IOccurrence

The occurrence.

Returns

bool

Whether the appointment can be saved or not.