Class
AppointmentSelectionBehavior

Represents a behavior of the appointment selection in the RadScheduleView control.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class AppointmentSelectionBehavior : Freezable

Inheritance: objectAppointmentSelectionBehavior

Constructors

AppointmentSelectionBehavior()

Declaration

cs-api-definition
public AppointmentSelectionBehavior()

Properties

IsSynchronizedWithCurrentItem

Gets or sets a value that indicates whether a RadScheduleView should keep the SelectedAppointment synchronized with the CurrentAppointment of the control's property.

Declaration

cs-api-definition
public bool IsSynchronizedWithCurrentItem { get; set; }

Property Value

bool

Methods

CreateInstanceCore()

Declaration

cs-api-definition
protected override Freezable CreateInstanceCore()

Returns

Freezable

GetItemToSelect(AppointmentSelectionState, IOccurrence)

Declaration

cs-api-definition
protected virtual IOccurrence GetItemToSelect(AppointmentSelectionState state, IOccurrence occurrence)

Parameters

state

AppointmentSelectionState

occurrence

IOccurrence

Returns

IOccurrence

GetNewAppointmentSelection(AppointmentSelectionState, IOccurrence, IDateSpan)

Gets the appointments in current range.

Declaration

cs-api-definition
public IEnumerable<IOccurrence> GetNewAppointmentSelection(AppointmentSelectionState state, IOccurrence target, IDateSpan clickedRange)

Parameters

state

AppointmentSelectionState

The selection state.

target

IOccurrence

The targeted appointment.

clickedRange

IDateSpan

The time range in which the selection occurs.

Returns

IEnumerable<IOccurrence>

List of selected occurrences.

GetOccurrenceIterationProvider(AppointmentSelectionState)

Declaration

cs-api-definition
protected IOccurrenceIterationProvider GetOccurrenceIterationProvider(AppointmentSelectionState state)

Parameters

state

AppointmentSelectionState

Returns

IOccurrenceIterationProvider

GetSelectedAppointments(AppointmentSelectionState, IOccurrence)

Declaration

cs-api-definition
protected virtual IEnumerable<IOccurrence> GetSelectedAppointments(AppointmentSelectionState state, IOccurrence target)

Parameters

state

AppointmentSelectionState

target

IOccurrence

Returns

IEnumerable<IOccurrence>

UpdateCurrencyAndSelection(AppointmentSelectionState, IEnumerable<IOccurrence>)

Declaration

cs-api-definition
protected virtual void UpdateCurrencyAndSelection(AppointmentSelectionState state, IEnumerable<IOccurrence> newSelection)

Parameters

state

AppointmentSelectionState

newSelection

IEnumerable<IOccurrence>