Represents a behavior of the appointment selection in the RadScheduleView control.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public class AppointmentSelectionBehavior : Freezable
Inheritance: objectAppointmentSelectionBehavior
Constructors
C#
public AppointmentSelectionBehavior()
Properties
Gets or sets a value that indicates whether a RadScheduleView should keep the SelectedAppointment synchronized with the CurrentAppointment of the control's property.
C#
public bool IsSynchronizedWithCurrentItem { get; set; }
Methods
CreateInstanceCore()
Freezable
C#
protected override Freezable CreateInstanceCore()
Freezable
C#
protected virtual IOccurrence GetItemToSelect(AppointmentSelectionState state, IOccurrence occurrence)
Gets the appointments in current range.
C#
public IEnumerable<IOccurrence> GetNewAppointmentSelection(AppointmentSelectionState state, IOccurrence target, IDateSpan clickedRange)
The selection state.
targetIOccurrenceThe targeted appointment.
clickedRangeIDateSpanThe time range in which the selection occurs.
Returns:List of selected occurrences.
C#
protected IOccurrenceIterationProvider GetOccurrenceIterationProvider(AppointmentSelectionState state)
C#
protected virtual IEnumerable<IOccurrence> GetSelectedAppointments(AppointmentSelectionState state, IOccurrence target)
C#
protected virtual void UpdateCurrencyAndSelection(AppointmentSelectionState state, IEnumerable<IOccurrence> newSelection)