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.Boolean
|
Methods
CreateInstanceCore()
Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.Freezable
|
GetItemToSelect(AppointmentSelectionState, IOccurrence)
Declaration
protected virtual IOccurrence GetItemToSelect(AppointmentSelectionState state, IOccurrence occurrence)
Parameters
AppointmentSelectionState
state
|
IOccurrence
occurrence
|
Returns
IOccurrence
|
GetNewAppointmentSelection(AppointmentSelectionState, IOccurrence, IDateSpan)
Gets the appointments in current range.
Declaration
public IEnumerable<IOccurrence> GetNewAppointmentSelection(AppointmentSelectionState state, IOccurrence target, IDateSpan clickedRange)
Parameters
AppointmentSelectionState
state
The selection state. |
IOccurrence
target
The targeted appointment. |
IDateSpan
clickedRange
The time range in which the selection occurs. |
Returns
System.Collections.Generic.IEnumerable<IOccurrence>
List of selected occurrences. |
GetOccurrenceIterationProvider(AppointmentSelectionState)
Declaration
protected IOccurrenceIterationProvider GetOccurrenceIterationProvider(AppointmentSelectionState state)
Parameters
AppointmentSelectionState
state
|
Returns
IOccurrenceIterationProvider
|
GetSelectedAppointments(AppointmentSelectionState, IOccurrence)
Declaration
protected virtual IEnumerable<IOccurrence> GetSelectedAppointments(AppointmentSelectionState state, IOccurrence target)
Parameters
AppointmentSelectionState
state
|
IOccurrence
target
|
Returns
System.Collections.Generic.IEnumerable<IOccurrence>
|
UpdateCurrencyAndSelection(AppointmentSelectionState, IEnumerable<IOccurrence>)
Declaration
protected virtual void UpdateCurrencyAndSelection(AppointmentSelectionState state, IEnumerable<IOccurrence> newSelection)
Parameters
AppointmentSelectionState
state
|
System.Collections.Generic.IEnumerable<IOccurrence>
newSelection
|