InterfaceIRadScheduleView
Represents the RadScheduleView control wrapper for SL/Wpf interface.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public interface IRadScheduleView : IControl, IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
ActiveViewDefinitionIndex
Gets the ActiveViewDefinitionIndex of the ScheduleView Uses an automation property (i.e. the RadScheduleView control property called).
AppointmentsPanel
Get the panel holding the RadScheduleView appoinments.
Declaration
IAppointmentsPanel AppointmentsPanel { get; }
Property Value
AppointmentsPanelGrid
Get the panel holding the RadScheduleView appoinments and TimeRuler items.
Declaration
FrameworkElement AppointmentsPanelGrid { get; }
Property Value
CurrentDate
Get the CurrentDate of the ScheduleView Uses an automation property (i.e. the RadScheduleView control property called).
DateHeaderText
Gets the current date header text.
GroupHeadersOrientation
Get the orientation of the group headers panel.
Declaration
Orientation GroupHeadersOrientation { get; }
Property Value
HeadersHeight
Get the Border indicating the height of the Headers panel.
Declaration
FrameworkElement HeadersHeight { get; }
Property Value
HeadersWidth
Get the Border indicating the width of the Headers panel.
Declaration
FrameworkElement HeadersWidth { get; }
Property Value
NavigationDatePicker
Get the navigation RadDatePicker control residing below the ScheduleView header.
Declaration
IRadDatePicker NavigationDatePicker { get; }
Property Value
NavigationHeader
Get the panel holding the RadScheduleView header items.
Declaration
INavigationHeader NavigationHeader { get; }
Property Value
NavigationPanel
Get the stack panel holding the navigation buttons and date picker.
Declaration
FrameworkElement NavigationPanel { get; }
Property Value
OpenedDialogWindow
Get the last opened SchedulerWindow.
Declaration
ISchedulerWindow OpenedDialogWindow { get; }
Property Value
TimeRulerLinesPanel
Gets the panel that holds the TimeRuler lines.
Declaration
ITimeRulerLinesPanel TimeRulerLinesPanel { get; }
Property Value
TimeRulerPanel
Get the panel holding TimeRuller items.
Declaration
ITimeRulerPanel TimeRulerPanel { get; }
Property Value
TimeRulerPanels
Get all of the TimerullerPanels.
Declaration
IList<ITimeRulerPanel> TimeRulerPanels { get; }
Property Value
ViewButtonsListBox
Get the top StackPanel holding the change view buttons.
Methods
ChangeView(int)
Change the view with the given index.
Declaration
void ChangeView(int viewIndex)
Parameters
viewIndex
The ScheduleView viewIndex to change to.
ChangeView(string)
Change to view with spesifc text.
Declaration
void ChangeView(string viewText)
Parameters
viewText
The ScheduleView view text to change to.
ClickInSlot(MouseClickType, IGroupHeader, ITimeRulerItem, bool)
Performs spesific mouse action on spesific slot.
Declaration
void ClickInSlot(MouseClickType clickType, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem, bool shouldScrollToSlot)
Parameters
clickType
The mouse click action to perform.
groupHeader
The group header of the slot.
timeRulerItem
The time ruler item of the slot.
shouldScrollToSlot
Indicates whether to scroll in order to locate the slot.
ClickInSlot(MouseClickType, string, string, bool)
Performs spesific mouse action on spesific slot.
Declaration
void ClickInSlot(MouseClickType clickType, string groupHeaderText, string timeRulerItemText, bool shouldScrollToSlot)
Parameters
clickType
The mouse click action to perform.
groupHeaderText
The group header of the slot.
timeRulerItemText
The time ruler item of the slot.
shouldScrollToSlot
Indicates whether to scroll in order to locate the slot.
DragAppointmentToAppointment(IAppointmentItem, IAppointmentItem, DropLocationType)
Drag and drop appointment to spesific side of another appointment.
Declaration
bool DragAppointmentToAppointment(IAppointmentItem sourceAppointment, IAppointmentItem destinationAppointment, DropLocationType dropLocation)
Parameters
sourceAppointment
The appointment to drag.
destinationAppointment
The appointment to drop to.
dropLocation
The drop location.
Returns
DragAppointmentToAppointment(string, string, DropLocationType)
Indicates wheather the highlighted item is withing a spesific slot.
Declaration
bool DragAppointmentToAppointment(string sourceAppointmentSubject, string destinationAppointmentSubject, DropLocationType dropLocation)
Parameters
sourceAppointmentSubject
The group header of the slot.
destinationAppointmentSubject
The time ruler of the slot.
dropLocation
The time ruler of the slot.
Returns
DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)
Drag and Drop appointment in spesific slot
Declaration
bool DragAppointmentToSlot(IAppointmentItem sourceAppointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)
Parameters
sourceAppointment
The appointment to drag.
groupHeader
The group header of the slot.
timeRulerItem
The time ruler of the slot.
Returns
DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, bool)
Drag and Drop or Drag and Hold appointment in spesific slot.
Declaration
bool DragAppointmentToSlot(IAppointmentItem sourceAppointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem, bool shouldDrop)
Parameters
sourceAppointment
The appointment to drag.
groupHeader
The group header of the slot.
timeRulerItem
The time ruler of the slot.
shouldDrop
Indicates whter to perform drag and drop or drag and hold operation.
Returns
DragAppointmentToSlot(IAppointmentItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)
Declaration
bool DragAppointmentToSlot(IAppointmentItem sourceAppointment, OffsetReference appointmentOffsetRef, int appointmentXOffset, int appointmentYOffset, IGroupHeader groupHeader, OffsetReference headertOffsetRef, int headerXOffset, int headerYOffset, ITimeRulerItem timeRulerItem, OffsetReference timeRulerOffsetRef, int timeRulerXOffset, int timeRulerYOffset, bool shouldDrop)
Parameters
sourceAppointment
appointmentOffsetRef
appointmentXOffset
appointmentYOffset
groupHeader
headertOffsetRef
headerXOffset
headerYOffset
timeRulerItem
timeRulerOffsetRef
timeRulerXOffset
timeRulerYOffset
shouldDrop
Returns
DragAppointmentToSlot(string, string, string)
Drag and Drop appointment in spesific slot
Declaration
bool DragAppointmentToSlot(string sourceAppointmentSubject, string groupHeaderText, string timeRulerItemText)
Parameters
sourceAppointmentSubject
The appointment to drag.
groupHeaderText
The group header of the slot.
timeRulerItemText
The time ruler of the slot.
Returns
GetActiveViewDefinitionIndex()
Gets the index of the current selected ListBoxItem indicating the current active view.
GetActiveViewDefinitionText()
Gets the Text of the current selected ListBoxItem indicating the current active view.
GetMonthViewTimeRulerItemByTextAndGroupHeader(string, string)
Gets MonthView time ruler item by spesific text and group header.
Declaration
ITimeRulerMonthViewItem GetMonthViewTimeRulerItemByTextAndGroupHeader(string timeRulerText, string groupHeaderText)
Parameters
timeRulerText
The text of the MonthView time ruler item.
groupHeaderText
The text of the group header.
Returns
HorizontalScrollToVisible(FrameworkElement)
Performs scrolling until item is in the view port. Return true if the item is visible in the view port after the scrolling is performed.
Declaration
bool HorizontalScrollToVisible(FrameworkElement item)
Parameters
item
Item to scroll to.
Returns
IsAppoinmentInGroupHeader(IAppointmentItem, IGroupHeader)
Indicates wheather appointment is withing the bounderies of spesific group header.
Declaration
bool IsAppoinmentInGroupHeader(IAppointmentItem appointment, IGroupHeader groupHeader)
Parameters
appointment
The appointment to check with.
groupHeader
The group header to check with.
Returns
IsAppoinmentInGroupHeader(string, string)
Indicates wheather appointment with subject is withing the bounderies of spesific group header with text.
IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)
Indicates wheather appointment is withing a spesific slot.
Declaration
bool IsAppoinmentInSlot(IAppointmentItem appointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)
Parameters
appointment
The appointment to check with.
groupHeader
The group header of the slot.
timeRulerItem
The time ruler of the slot.
Returns
IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, ITimeRulerItem)
Indicates wheather appointment is withing a spesific slot.
Declaration
bool IsAppoinmentInSlot(IAppointmentItem appointment, IGroupHeader groupHeader, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)
Parameters
appointment
The appointment to check with.
groupHeader
The group header of the slot.
startTimeRulerItem
The start time ruler item to check with.
endTimeRulerItem
The end time ruler item to check with.
Returns
IsAppoinmentInSlot(string, string, string)
Indicates wheather appointment is withing a spesific slot.
Declaration
bool IsAppoinmentInSlot(string appointmentSubject, string groupHeaderText, string timeRulerItemText)
Parameters
appointmentSubject
The appointment to check with.
groupHeaderText
The group header of the slot.
timeRulerItemText
The time ruler of the slot.
Returns
IsAppoinmentInSlot(string, string, string, string)
Indicates wheather appointment is withing a spesific slot.
Declaration
bool IsAppoinmentInSlot(string appointmentSubject, string groupHeaderText, string startTimeRulerItemText, string endTimeRulerItemText)
Parameters
appointmentSubject
The appointment to check with.
groupHeaderText
The group header of the slot.
startTimeRulerItemText
The time ruler of the slot.
endTimeRulerItemText
The time ruler of the slot.
Returns
IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem)
Indicates wheather appointment is withing the bounderies of spesific time interval.
Declaration
bool IsAppoinmentInTimeInterval(IAppointmentItem appointment, ITimeRulerItem timeRulerItem)
Parameters
appointment
The appointment to check with.
timeRulerItem
The time ruler item to check with.
Returns
IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem, ITimeRulerItem)
Indicates wheather appointment is withing the bounderies of spesific time interval.
Declaration
bool IsAppoinmentInTimeInterval(IAppointmentItem appointment, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)
Parameters
appointment
The appointment to check with.
startTimeRulerItem
The start time ruler item to check with.
endTimeRulerItem
The end time ruler item to check with.
Returns
IsAppoinmentInTimeInterval(string, string)
Indicates wheather appointment is withing the bounderies of spesific time interval.
IsAppoinmentInTimeInterval(string, string, string)
Indicates wheather appointment with subject is withing the bounderies of spesific group header with text.
Declaration
bool IsAppoinmentInTimeInterval(string appointmentSubject, string startTimeRulerItemText, string endTimeRulerItemText)
Parameters
appointmentSubject
The appointment subject to check with.
startTimeRulerItemText
The start time ruler item text to check with.
endTimeRulerItemText
The end time ruler item text to check with.
Returns
IsElementInGroupHeader(FrameworkElement, IGroupHeader)
Indicates wheather element is withing the bounderies of spesific group header.
Declaration
bool IsElementInGroupHeader(FrameworkElement element, IGroupHeader groupHeader)
Parameters
element
The element to check with.
groupHeader
The group header to check with.
Returns
IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem)
Indicates wheather element is withing a spesific slot.
Declaration
bool IsElementInSlot(FrameworkElement element, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)
Parameters
element
The appointment to check with.
groupHeader
The group header of the slot.
timeRulerItem
The time ruler of the slot.
Returns
IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem, ITimeRulerItem)
Indicates wheather element is withing a spesific slot.
Declaration
bool IsElementInSlot(FrameworkElement element, IGroupHeader groupHeader, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)
Parameters
element
The element to check with.
groupHeader
The group header of the slot.
startTimeRulerItem
The start time ruler item to check with.
endTimeRulerItem
The end time ruler item to check with.
Returns
IsElementInTimeInterval(FrameworkElement, ITimeRulerItem)
Indicates wheather element is withing the bounderies of spesific time interval.
Declaration
bool IsElementInTimeInterval(FrameworkElement element, ITimeRulerItem timeRulerItem)
Parameters
element
The element to check with.
timeRulerItem
The time ruler item to check with.
Returns
IsElementInTimeInterval(FrameworkElement, ITimeRulerItem, ITimeRulerItem)
Indicates wheather element is withing the bounderies of spesific time interval.
Declaration
bool IsElementInTimeInterval(FrameworkElement element, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)
Parameters
element
The element to check with.
startTimeRulerItem
The start time ruler item to check with.
endTimeRulerItem
The end time ruler item to check with.
Returns
IsHighlightedItemInSlot(string, string)
Indicates wheather the selected item is withing a spesific slot.
NavigateBack()
Simulates user clicking on the 'Back' navigation button below the ScheduleView header.
Declaration
void NavigateBack()
NavigateForward()
Simulates user clicking on the 'Forward' navigation button below the ScheduleView header.
Declaration
void NavigateForward()
PerformActionOnTheOpenedDialogWindow<T>(string, Func<T, bool>)
Performs an anction on spesific control in the opened DialogWindow.
Declaration
bool PerformActionOnTheOpenedDialogWindow<T>(string controlAutomationId, Func<T, bool> applyAction) where T : IFrameworkElement
Parameters
controlAutomationId
The automation id of the control to perform action on. All automation id of the existing items can be found in the SchedulerWindowElementIds class.
applyAction
The action to be performed.
Returns
VerifyPropertyInTheOpenedDialogWindow<T>(string, Action<T>)
Verifies property of spesific control in the opened DialogWindow
Declaration
void VerifyPropertyInTheOpenedDialogWindow<T>(string controlAutomationId, Action<T> verifyProperty) where T : IFrameworkElement
Parameters
controlAutomationId
The automation id of the control to perform action on. All automation id of the existing items can be found in the SchedulerWindowElementIds class.
verifyProperty
Action<T>
The action that verifies the property.
VerticalScrollToVisible(FrameworkElement)
Performs scrolling until item is in the view port. Return true if the item is visible in the view port after the scrolling is performed.
Declaration
bool VerticalScrollToVisible(FrameworkElement item)
Parameters
item
Item to scroll to.
Returns