Interface
IRadScheduleView

Represents the RadScheduleView control wrapper for SL/Wpf interface.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

cs-api-definition
public interface IRadScheduleView : IControl, IFrameworkElement, ITargetElement

Derived Classes: RadScheduleViewRadScheduleView

Inherited Members IControl.IsEnabledIFrameworkElement.CastAs<T>()IFrameworkElement.Parent<T>()IFrameworkElement.SetProxy(bool)IFrameworkElement.SetUid(string)IFrameworkElement.SetFindInfo(VisualFindInfo)IFrameworkElement.SetXamlTag(string)IFrameworkElement.AssignReference(AutomationReference)IFrameworkElement.SetFocus()IFrameworkElement.GetAutomationProperty(string)IFrameworkElement.GetProperty<T>(string)IFrameworkElement.GetPropertyTypeSafe(string)IFrameworkElement.SetProperty(string, object)IFrameworkElement.ScrollToVisible()IFrameworkElement.UserIFrameworkElement.FindIFrameworkElement.WaitIFrameworkElement.NameIFrameworkElement.AbsoluteSiblingTagIndexIFrameworkElement.ActualWidthIFrameworkElement.ActualHeightIFrameworkElement.TextIFrameworkElement.ToolTipTextIFrameworkElement.TextBlockContentIFrameworkElement.TextLiteralContentIFrameworkElement.ComputedVisibilityIFrameworkElement.UidITargetElement.Match(IFindExpression)ITargetElement.SetDepth(int)ITargetElement.AddChildNode(ITargetElement)ITargetElement.SetClosingTag(ITargetElement)ITargetElement.GetChildren()ITargetElement.GetParent()ITargetElement.GetHostParent()ITargetElement.SetParent(ITargetElement)ITargetElement.Refresh()ITargetElement.GetUniqueHashCode()ITargetElement.GetRectangle()ITargetElement.Capture()ITargetElement.CaptureImage()ITargetElement.GetStringPresentation()ITargetElement.TechnologyTypeITargetElement.DepthITargetElement.IsTestRegionITargetElement.ParsedElementITargetElement.Host

Properties

ActiveViewDefinitionIndex

Gets the ActiveViewDefinitionIndex of the ScheduleView Uses an automation property (i.e. the RadScheduleView control property called).

Declaration

cs-api-definition
int ActiveViewDefinitionIndex { get; set; }

Property Value

int

AppointmentsPanel

Get the panel holding the RadScheduleView appoinments.

Declaration

cs-api-definition
IAppointmentsPanel AppointmentsPanel { get; }

Property Value

IAppointmentsPanel

AppointmentsPanelGrid

Get the panel holding the RadScheduleView appoinments and TimeRuler items.

Declaration

cs-api-definition
FrameworkElement AppointmentsPanelGrid { get; }

Property Value

FrameworkElement

CurrentDate

Get the CurrentDate of the ScheduleView Uses an automation property (i.e. the RadScheduleView control property called).

Declaration

cs-api-definition
DateTime CurrentDate { get; set; }

Property Value

DateTime

DateHeaderText

Gets the current date header text.

Declaration

cs-api-definition
string DateHeaderText { get; }

Property Value

string

GroupHeadersOrientation

Get the orientation of the group headers panel.

Declaration

cs-api-definition
Orientation GroupHeadersOrientation { get; }

Property Value

Orientation

HeadersHeight

Get the Border indicating the height of the Headers panel.

Declaration

cs-api-definition
FrameworkElement HeadersHeight { get; }

Property Value

FrameworkElement

HeadersWidth

Get the Border indicating the width of the Headers panel.

Declaration

cs-api-definition
FrameworkElement HeadersWidth { get; }

Property Value

FrameworkElement

NavigationDatePicker

Get the navigation RadDatePicker control residing below the ScheduleView header.

Declaration

cs-api-definition
IRadDatePicker NavigationDatePicker { get; }

Property Value

IRadDatePicker

NavigationHeader

Get the panel holding the RadScheduleView header items.

Declaration

cs-api-definition
INavigationHeader NavigationHeader { get; }

Property Value

INavigationHeader

NavigationPanel

Get the stack panel holding the navigation buttons and date picker.

Declaration

cs-api-definition
FrameworkElement NavigationPanel { get; }

Property Value

FrameworkElement

OpenedDialogWindow

Get the last opened SchedulerWindow.

Declaration

cs-api-definition
ISchedulerWindow OpenedDialogWindow { get; }

Property Value

ISchedulerWindow

TimeRulerLinesPanel

Gets the panel that holds the TimeRuler lines.

Declaration

cs-api-definition
ITimeRulerLinesPanel TimeRulerLinesPanel { get; }

Property Value

ITimeRulerLinesPanel

TimeRulerPanel

Get the panel holding TimeRuller items.

Declaration

cs-api-definition
ITimeRulerPanel TimeRulerPanel { get; }

Property Value

ITimeRulerPanel

TimeRulerPanels

Get all of the TimerullerPanels.

Declaration

cs-api-definition
IList<ITimeRulerPanel> TimeRulerPanels { get; }

Property Value

IList<ITimeRulerPanel>

ViewButtonsListBox

Get the top StackPanel holding the change view buttons.

Declaration

cs-api-definition
ListBox ViewButtonsListBox { get; }

Property Value

ListBox

Methods

ChangeView(int)

Change the view with the given index.

Declaration

cs-api-definition
void ChangeView(int viewIndex)

Parameters

viewIndex

int

The ScheduleView viewIndex to change to.

ChangeView(string)

Change to view with spesifc text.

Declaration

cs-api-definition
void ChangeView(string viewText)

Parameters

viewText

string

The ScheduleView view text to change to.

ClickInSlot(MouseClickType, IGroupHeader, ITimeRulerItem, bool)

Performs spesific mouse action on spesific slot.

Declaration

cs-api-definition
void ClickInSlot(MouseClickType clickType, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem, bool shouldScrollToSlot)

Parameters

clickType

MouseClickType

The mouse click action to perform.

groupHeader

IGroupHeader

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler item of the slot.

shouldScrollToSlot

bool

Indicates whether to scroll in order to locate the slot.

ClickInSlot(MouseClickType, string, string, bool)

Performs spesific mouse action on spesific slot.

Declaration

cs-api-definition
void ClickInSlot(MouseClickType clickType, string groupHeaderText, string timeRulerItemText, bool shouldScrollToSlot)

Parameters

clickType

MouseClickType

The mouse click action to perform.

groupHeaderText

string

The group header of the slot.

timeRulerItemText

string

The time ruler item of the slot.

shouldScrollToSlot

bool

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

cs-api-definition
bool DragAppointmentToAppointment(IAppointmentItem sourceAppointment, IAppointmentItem destinationAppointment, DropLocationType dropLocation)

Parameters

sourceAppointment

IAppointmentItem

The appointment to drag.

destinationAppointment

IAppointmentItem

The appointment to drop to.

dropLocation

DropLocationType

The drop location.

Returns

bool

DragAppointmentToAppointment(string, string, DropLocationType)

Indicates wheather the highlighted item is withing a spesific slot.

Declaration

cs-api-definition
bool DragAppointmentToAppointment(string sourceAppointmentSubject, string destinationAppointmentSubject, DropLocationType dropLocation)

Parameters

sourceAppointmentSubject

string

The group header of the slot.

destinationAppointmentSubject

string

The time ruler of the slot.

dropLocation

DropLocationType

The time ruler of the slot.

Returns

bool

DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

Drag and Drop appointment in spesific slot

Declaration

cs-api-definition
bool DragAppointmentToSlot(IAppointmentItem sourceAppointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)

Parameters

sourceAppointment

IAppointmentItem

The appointment to drag.

groupHeader

IGroupHeader

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler of the slot.

Returns

bool

DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, bool)

Drag and Drop or Drag and Hold appointment in spesific slot.

Declaration

cs-api-definition
bool DragAppointmentToSlot(IAppointmentItem sourceAppointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem, bool shouldDrop)

Parameters

sourceAppointment

IAppointmentItem

The appointment to drag.

groupHeader

IGroupHeader

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler of the slot.

shouldDrop

bool

Indicates whter to perform drag and drop or drag and hold operation.

Returns

bool

DragAppointmentToSlot(IAppointmentItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)

Declaration

cs-api-definition
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

IAppointmentItem

appointmentOffsetRef

OffsetReference

appointmentXOffset

int

appointmentYOffset

int

groupHeader

IGroupHeader

headertOffsetRef

OffsetReference

headerXOffset

int

headerYOffset

int

timeRulerItem

ITimeRulerItem

timeRulerOffsetRef

OffsetReference

timeRulerXOffset

int

timeRulerYOffset

int

shouldDrop

bool

Returns

bool

DragAppointmentToSlot(string, string, string)

Drag and Drop appointment in spesific slot

Declaration

cs-api-definition
bool DragAppointmentToSlot(string sourceAppointmentSubject, string groupHeaderText, string timeRulerItemText)

Parameters

sourceAppointmentSubject

string

The appointment to drag.

groupHeaderText

string

The group header of the slot.

timeRulerItemText

string

The time ruler of the slot.

Returns

bool

GetActiveViewDefinitionIndex()

Gets the index of the current selected ListBoxItem indicating the current active view.

Declaration

cs-api-definition
int GetActiveViewDefinitionIndex()

Returns

int

GetActiveViewDefinitionText()

Gets the Text of the current selected ListBoxItem indicating the current active view.

Declaration

cs-api-definition
string GetActiveViewDefinitionText()

Returns

string

GetMonthViewTimeRulerItemByTextAndGroupHeader(string, string)

Gets MonthView time ruler item by spesific text and group header.

Declaration

cs-api-definition
ITimeRulerMonthViewItem GetMonthViewTimeRulerItemByTextAndGroupHeader(string timeRulerText, string groupHeaderText)

Parameters

timeRulerText

string

The text of the MonthView time ruler item.

groupHeaderText

string

The text of the group header.

Returns

ITimeRulerMonthViewItem

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

cs-api-definition
bool HorizontalScrollToVisible(FrameworkElement item)

Parameters

item

FrameworkElement

Item to scroll to.

Returns

bool

IsAppoinmentInGroupHeader(IAppointmentItem, IGroupHeader)

Indicates wheather appointment is withing the bounderies of spesific group header.

Declaration

cs-api-definition
bool IsAppoinmentInGroupHeader(IAppointmentItem appointment, IGroupHeader groupHeader)

Parameters

appointment

IAppointmentItem

The appointment to check with.

groupHeader

IGroupHeader

The group header to check with.

Returns

bool

IsAppoinmentInGroupHeader(string, string)

Indicates wheather appointment with subject is withing the bounderies of spesific group header with text.

Declaration

cs-api-definition
bool IsAppoinmentInGroupHeader(string appointmentSubject, string groupHeaderText)

Parameters

appointmentSubject

string

The appointment subject to check with.

groupHeaderText

string

The group header text to check with.

Returns

bool

IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

Indicates wheather appointment is withing a spesific slot.

Declaration

cs-api-definition
bool IsAppoinmentInSlot(IAppointmentItem appointment, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)

Parameters

appointment

IAppointmentItem

The appointment to check with.

groupHeader

IGroupHeader

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler of the slot.

Returns

bool

IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

Indicates wheather appointment is withing a spesific slot.

Declaration

cs-api-definition
bool IsAppoinmentInSlot(IAppointmentItem appointment, IGroupHeader groupHeader, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)

Parameters

appointment

IAppointmentItem

The appointment to check with.

groupHeader

IGroupHeader

The group header of the slot.

startTimeRulerItem

ITimeRulerItem

The start time ruler item to check with.

endTimeRulerItem

ITimeRulerItem

The end time ruler item to check with.

Returns

bool

IsAppoinmentInSlot(string, string, string)

Indicates wheather appointment is withing a spesific slot.

Declaration

cs-api-definition
bool IsAppoinmentInSlot(string appointmentSubject, string groupHeaderText, string timeRulerItemText)

Parameters

appointmentSubject

string

The appointment to check with.

groupHeaderText

string

The group header of the slot.

timeRulerItemText

string

The time ruler of the slot.

Returns

bool

IsAppoinmentInSlot(string, string, string, string)

Indicates wheather appointment is withing a spesific slot.

Declaration

cs-api-definition
bool IsAppoinmentInSlot(string appointmentSubject, string groupHeaderText, string startTimeRulerItemText, string endTimeRulerItemText)

Parameters

appointmentSubject

string

The appointment to check with.

groupHeaderText

string

The group header of the slot.

startTimeRulerItemText

string

The time ruler of the slot.

endTimeRulerItemText

string

The time ruler of the slot.

Returns

bool

IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem)

Indicates wheather appointment is withing the bounderies of spesific time interval.

Declaration

cs-api-definition
bool IsAppoinmentInTimeInterval(IAppointmentItem appointment, ITimeRulerItem timeRulerItem)

Parameters

appointment

IAppointmentItem

The appointment to check with.

timeRulerItem

ITimeRulerItem

The time ruler item to check with.

Returns

bool

IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem, ITimeRulerItem)

Indicates wheather appointment is withing the bounderies of spesific time interval.

Declaration

cs-api-definition
bool IsAppoinmentInTimeInterval(IAppointmentItem appointment, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)

Parameters

appointment

IAppointmentItem

The appointment to check with.

startTimeRulerItem

ITimeRulerItem

The start time ruler item to check with.

endTimeRulerItem

ITimeRulerItem

The end time ruler item to check with.

Returns

bool

IsAppoinmentInTimeInterval(string, string)

Indicates wheather appointment is withing the bounderies of spesific time interval.

Declaration

cs-api-definition
bool IsAppoinmentInTimeInterval(string appointmentSubject, string timeRulerItemText)

Parameters

appointmentSubject

string

The appointment subject to check with.

timeRulerItemText

string

The time ruler text item to check with.

Returns

bool

IsAppoinmentInTimeInterval(string, string, string)

Indicates wheather appointment with subject is withing the bounderies of spesific group header with text.

Declaration

cs-api-definition
bool IsAppoinmentInTimeInterval(string appointmentSubject, string startTimeRulerItemText, string endTimeRulerItemText)

Parameters

appointmentSubject

string

The appointment subject to check with.

startTimeRulerItemText

string

The start time ruler item text to check with.

endTimeRulerItemText

string

The end time ruler item text to check with.

Returns

bool

IsElementInGroupHeader(FrameworkElement, IGroupHeader)

Indicates wheather element is withing the bounderies of spesific group header.

Declaration

cs-api-definition
bool IsElementInGroupHeader(FrameworkElement element, IGroupHeader groupHeader)

Parameters

element

FrameworkElement

The element to check with.

groupHeader

IGroupHeader

The group header to check with.

Returns

bool

IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem)

Indicates wheather element is withing a spesific slot.

Declaration

cs-api-definition
bool IsElementInSlot(FrameworkElement element, IGroupHeader groupHeader, ITimeRulerItem timeRulerItem)

Parameters

element

FrameworkElement

The appointment to check with.

groupHeader

IGroupHeader

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler of the slot.

Returns

bool

IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

Indicates wheather element is withing a spesific slot.

Declaration

cs-api-definition
bool IsElementInSlot(FrameworkElement element, IGroupHeader groupHeader, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)

Parameters

element

FrameworkElement

The element to check with.

groupHeader

IGroupHeader

The group header of the slot.

startTimeRulerItem

ITimeRulerItem

The start time ruler item to check with.

endTimeRulerItem

ITimeRulerItem

The end time ruler item to check with.

Returns

bool

IsElementInTimeInterval(FrameworkElement, ITimeRulerItem)

Indicates wheather element is withing the bounderies of spesific time interval.

Declaration

cs-api-definition
bool IsElementInTimeInterval(FrameworkElement element, ITimeRulerItem timeRulerItem)

Parameters

element

FrameworkElement

The element to check with.

timeRulerItem

ITimeRulerItem

The time ruler item to check with.

Returns

bool

IsElementInTimeInterval(FrameworkElement, ITimeRulerItem, ITimeRulerItem)

Indicates wheather element is withing the bounderies of spesific time interval.

Declaration

cs-api-definition
bool IsElementInTimeInterval(FrameworkElement element, ITimeRulerItem startTimeRulerItem, ITimeRulerItem endTimeRulerItem)

Parameters

element

FrameworkElement

The element to check with.

startTimeRulerItem

ITimeRulerItem

The start time ruler item to check with.

endTimeRulerItem

ITimeRulerItem

The end time ruler item to check with.

Returns

bool

IsHighlightedItemInSlot(string, string)

Indicates wheather the selected item is withing a spesific slot.

Declaration

cs-api-definition
bool IsHighlightedItemInSlot(string groupHeaderText, string timeRulerItemText)

Parameters

groupHeaderText

string

The group header of the slot.

timeRulerItemText

string

The time ruler of the slot.

Returns

bool

NavigateBack()

Simulates user clicking on the 'Back' navigation button below the ScheduleView header.

Declaration

cs-api-definition
void NavigateBack()

NavigateForward()

Simulates user clicking on the 'Forward' navigation button below the ScheduleView header.

Declaration

cs-api-definition
void NavigateForward()

PerformActionOnTheOpenedDialogWindow<T>(string, Func<T, bool>)

Performs an anction on spesific control in the opened DialogWindow.

Declaration

cs-api-definition
bool PerformActionOnTheOpenedDialogWindow<T>(string controlAutomationId, Func<T, bool> applyAction) where T : IFrameworkElement

Parameters

controlAutomationId

string

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

Func<T, bool>

The action to be performed.

Returns

bool

VerifyPropertyInTheOpenedDialogWindow<T>(string, Action<T>)

Verifies property of spesific control in the opened DialogWindow

Declaration

cs-api-definition
void VerifyPropertyInTheOpenedDialogWindow<T>(string controlAutomationId, Action<T> verifyProperty) where T : IFrameworkElement

Parameters

controlAutomationId

string

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

cs-api-definition
bool VerticalScrollToVisible(FrameworkElement item)

Parameters

item

FrameworkElement

Item to scroll to.

Returns

bool

In this article
DefinitionPropertiesActiveViewDefinitionIndexAppointmentsPanelAppointmentsPanelGridCurrentDateDateHeaderTextGroupHeadersOrientationHeadersHeightHeadersWidthNavigationDatePickerNavigationHeaderNavigationPanelOpenedDialogWindowTimeRulerLinesPanelTimeRulerPanelTimeRulerPanelsViewButtonsListBoxMethodsChangeView(int)ChangeView(string)ClickInSlot(MouseClickType, IGroupHeader, ITimeRulerItem, bool)ClickInSlot(MouseClickType, string, string, bool)DragAppointmentToAppointment(IAppointmentItem, IAppointmentItem, DropLocationType)DragAppointmentToAppointment(string, string, DropLocationType)DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, bool)DragAppointmentToSlot(IAppointmentItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)DragAppointmentToSlot(string, string, string)GetActiveViewDefinitionIndex()GetActiveViewDefinitionText()GetMonthViewTimeRulerItemByTextAndGroupHeader(string, string)HorizontalScrollToVisible(FrameworkElement)IsAppoinmentInGroupHeader(IAppointmentItem, IGroupHeader)IsAppoinmentInGroupHeader(string, string)IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, ITimeRulerItem)IsAppoinmentInSlot(string, string, string)IsAppoinmentInSlot(string, string, string, string)IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem)IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem, ITimeRulerItem)IsAppoinmentInTimeInterval(string, string)IsAppoinmentInTimeInterval(string, string, string)IsElementInGroupHeader(FrameworkElement, IGroupHeader)IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem)IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem, ITimeRulerItem)IsElementInTimeInterval(FrameworkElement, ITimeRulerItem)IsElementInTimeInterval(FrameworkElement, ITimeRulerItem, ITimeRulerItem)IsHighlightedItemInSlot(string, string)NavigateBack()NavigateForward()PerformActionOnTheOpenedDialogWindow<T>(string, Func<T, bool>)VerifyPropertyInTheOpenedDialogWindow<T>(string, Action<T>)VerticalScrollToVisible(FrameworkElement)
Not finding the help you need?
Contact Support