Class AppointmentSelectionBehavior
Represents a behavior of the appointment selection in the RadScheduleView control.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class AppointmentSelectionBehavior : Freezable
Constructors
AppointmentSelectionBehavior()
Declaration
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
public bool IsSynchronizedWithCurrentItem { get; set; }
Property Value
System.
|
Methods
CreateInstanceCore()
Declaration
protected override Freezable CreateInstanceCore()
Returns
System.
|
GetItemToSelect(AppointmentSelectionState, IOccurrence)
Declaration
protected virtual IOccurrence GetItemToSelect(AppointmentSelectionState state, IOccurrence occurrence)
Parameters
Appointment
|
IOccurrence
occurrence
|
Returns
GetNewAppointmentSelection(AppointmentSelectionState, IOccurrence, IDateSpan)
Gets the appointments in current range.
Declaration
public IEnumerable<IOccurrence> GetNewAppointmentSelection(AppointmentSelectionState state, IOccurrence target, IDateSpan clickedRange)
Parameters
Appointment The selection state. |
IOccurrence
target
The targeted appointment. |
IDate The time range in which the selection occurs. |
Returns
System. List of selected occurrences. |
GetOccurrenceIterationProvider(AppointmentSelectionState)
Declaration
protected IOccurrenceIterationProvider GetOccurrenceIterationProvider(AppointmentSelectionState state)
Parameters
Returns
GetSelectedAppointments(AppointmentSelectionState, IOccurrence)
Declaration
protected virtual IEnumerable<IOccurrence> GetSelectedAppointments(AppointmentSelectionState state, IOccurrence target)
Parameters
Appointment
|
IOccurrence
target
|
Returns
System.
|
UpdateCurrencyAndSelection(AppointmentSelectionState, IEnumerable<IOccurrence>)
Declaration
protected virtual void UpdateCurrencyAndSelection(AppointmentSelectionState state, IEnumerable<IOccurrence> newSelection)
Parameters
Appointment
|
System.
|