New to Telerik UI for WPFStart a free 30-day trial

Defines basic basic methods and properties of a ReadOnlyBehavior.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public interface IReadOnlyBehavior

Derived Classes: ReadOnlyBehavior

Methods

Check whether the appointment can be deleted or not.

C#
bool CanDeleteAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

occurenceIOccurrence

The occurrence.

Returns:

bool

Whether the appointment can be deleted or not.

Check whether the appointment can be dragged or not.

C#
bool CanDragAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

occurenceIOccurrence

The occurrence.

Returns:

bool

Whether the appointment can be dragged or not.

Check whether the appointment can be edited or not.

C#
bool CanEditAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

occurenceIOccurrence

The occurrence.

Returns:

bool

Whether the appointment can be edited or not.

Check whether the slot can be edited or not.

C#
bool CanEditSlot(IReadOnlySettings settings, Slot slot)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

slotSlot

The slot.

Returns:

bool

Whether the slot can be edited or not.

Check whether the appointment can be resized or not.

C#
bool CanResizeAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

occurenceIOccurrence

The occurrence.

Returns:

bool

Whether the appointment can be resized or not.

Check whether the appointment can be saved or not.

C#
bool CanSaveAppointment(IReadOnlySettings settings, IOccurrence occurence)
Parameters:settingsIReadOnlySettings

The configuration setting for the behavior.

occurenceIOccurrence

The occurrence.

Returns:

bool

Whether the appointment can be saved or not.