Class
RadScheduleView

Represents the RadScheduleView control wrapper. Serves as a main entry point for the entire RadScheduleView API.

Definition

Namespace:Telerik.WebAii.Controls.Xaml.Wpf

Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll

Syntax:

cs-api-definition
public class RadScheduleView : Control, IAutomationPeer, IPeerConverter, IRadScheduleView, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlRadScheduleView

Implements: IAutomationPeerIControlIFrameworkElementIPeerConverterIRadScheduleViewITargetElement

Inherited Members Control.BorderBrushPropertyControl.BorderThicknessPropertyControl.BackgroundPropertyControl.ForegroundPropertyControl.FontSizePropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.TabIndexPropertyControl.IsTabStopPropertyControl.PaddingPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.GetRealType()Control.BorderBrushControl.BorderThicknessControl.BackgroundControl.ForegroundControl.FontSizeControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.TabIndexControl.IsTabStopControl.PaddingControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightWpfTestElement.OverridesDefaultStylePropertyWpfTestElement.BindingGroupPropertyWpfTestElement.InputScopePropertyWpfTestElement.LayoutTransformPropertyWpfTestElement.FlowDirectionPropertyWpfTestElement.ForceCursorPropertyWpfTestElement.ContextMenuPropertyWpfTestElement.IsMouseDirectlyOverPropertyWpfTestElement.IsMouseOverPropertyWpfTestElement.IsStylusOverPropertyWpfTestElement.IsKeyboardFocusWithinPropertyWpfTestElement.IsMouseCapturedPropertyWpfTestElement.IsMouseCaptureWithinPropertyWpfTestElement.IsStylusDirectlyOverPropertyWpfTestElement.IsStylusCapturedPropertyWpfTestElement.IsStylusCaptureWithinPropertyWpfTestElement.IsKeyboardFocusedPropertyWpfTestElement.AllowDropPropertyWpfTestElement.ClipToBoundsPropertyWpfTestElement.SnapsToDevicePixelsPropertyWpfTestElement.IsFocusedPropertyWpfTestElement.IsEnabledPropertyWpfTestElement.IsVisiblePropertyWpfTestElement.FocusablePropertyWpfTestElement.OverridesDefaultStyleWpfTestElement.BindingGroupWpfTestElement.InputScopeWpfTestElement.FlowDirectionWpfTestElement.ForceCursorWpfTestElement.ContextMenuWpfTestElement.IsMouseDirectlyOverWpfTestElement.IsMouseOverWpfTestElement.IsStylusOverWpfTestElement.IsKeyboardFocusWithinWpfTestElement.IsMouseCapturedWpfTestElement.IsMouseCaptureWithinWpfTestElement.IsStylusDirectlyOverWpfTestElement.IsStylusCapturedWpfTestElement.IsStylusCaptureWithinWpfTestElement.IsKeyboardFocusedWpfTestElement.AllowDropWpfTestElement.ClipToBoundsWpfTestElement.SnapsToDevicePixelsWpfTestElement.IsFocusedWpfTestElement.IsEnabledWpfTestElement.IsVisibleWpfTestElement.FocusableWpfTestElement.ComputedVisibilityFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.AssignReference(AutomationReference)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

RadScheduleView()

Initializes a new instance of the RadScheduleView class.

Declaration

cs-api-definition
public RadScheduleView()

Properties

ActiveViewDefinitionIndex

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

Declaration

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

Property Value

int

Implements IRadScheduleView.ActiveViewDefinitionIndex

AppointmentsPanel

Get the panel holding the RadScheduleView appoinments.

Declaration

cs-api-definition
public IAppointmentsPanel AppointmentsPanel { get; }

Property Value

IAppointmentsPanel

Implements IRadScheduleView.AppointmentsPanel

AppointmentsPanelGrid

Get the panel holding the RadScheduleView appoinments and TimeRuler items.

Declaration

cs-api-definition
public FrameworkElement AppointmentsPanelGrid { get; }

Property Value

FrameworkElement

Implements IRadScheduleView.AppointmentsPanelGrid

CurrentDate

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

Declaration

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

Property Value

DateTime

Implements IRadScheduleView.CurrentDate

DateHeaderText

Gets the current date header text.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RadScheduleView.NavigationHeader.NavigationPanel.DateHeaderText property instead.")]
public string DateHeaderText { get; }

Property Value

string

Implements IRadScheduleView.DateHeaderText

DragDropHighlightedItems

The collection holding the drag and drop highlighted items.

Declaration

cs-api-definition
public List<HighlightItem> DragDropHighlightedItems { get; }

Property Value

List<HighlightItem>

GroupHeadersOrientation

Get the orientation of the group headers panel.

Declaration

cs-api-definition
public Orientation GroupHeadersOrientation { get; }

Property Value

Orientation

Implements IRadScheduleView.GroupHeadersOrientation

HeadersHeight

Get the Border indicating the height of the Headers panel.

Declaration

cs-api-definition
public FrameworkElement HeadersHeight { get; }

Property Value

FrameworkElement

Implements IRadScheduleView.HeadersHeight

HeadersWidth

Get the Border indicating the width of the Headers panel.

Declaration

cs-api-definition
public FrameworkElement HeadersWidth { get; }

Property Value

FrameworkElement

Implements IRadScheduleView.HeadersWidth

HighlightedItem

Declaration

cs-api-definition
[Obsolete("The HighlightedItem property is obsolated. Please use MouseOverHighlightedItem, SelectedHighlightedItems, SpecialSlotsHighlightedItems, ReadOnlyHighlightedItems, DragDropHighlightedItems or ResizeHighlightedItem.")]
public IHighlightItem HighlightedItem { get; }

Property Value

IHighlightItem

HorizontalScrollBar

Get the Border indicating the width of the Headers panel.

Declaration

cs-api-definition
public ScrollBar HorizontalScrollBar { get; }

Property Value

ScrollBar

MouseOverHighlightedItem

The mouse over highlighted item.

Declaration

cs-api-definition
public HighlightItem MouseOverHighlightedItem { get; }

Property Value

HighlightItem

NavigationDatePicker

Get the navigation RadDatePicker control residing below the ScheduleView header.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RadScheduleView.NavigationHeader.NavigationPanel.NavigationDatePicker property instead.")]
public IRadDatePicker NavigationDatePicker { get; }

Property Value

IRadDatePicker

Implements IRadScheduleView.NavigationDatePicker

NavigationHeader

Get the panel holding the RadScheduleView header items.

Declaration

cs-api-definition
public INavigationHeader NavigationHeader { get; }

Property Value

INavigationHeader

Implements IRadScheduleView.NavigationHeader

NavigationPanel

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

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RadScheduleView.NavigationHeader.NavigationPanel property instead.")]
public FrameworkElement NavigationPanel { get; }

Property Value

FrameworkElement

Implements IRadScheduleView.NavigationPanel

OpenedDialogWindow

Get the last opened SchedulerWindow.

Declaration

cs-api-definition
public ISchedulerWindow OpenedDialogWindow { get; }

Property Value

ISchedulerWindow

Implements IRadScheduleView.OpenedDialogWindow

ReadOnlyHighlightedItems

The collection holding the read only highlighted items.

Declaration

cs-api-definition
public List<HighlightItem> ReadOnlyHighlightedItems { get; }

Property Value

List<HighlightItem>

ResizeHighlightedItem

The resize highlighted item shown when appointmetn is beeng resized.

Declaration

cs-api-definition
public HighlightItem ResizeHighlightedItem { get; }

Property Value

HighlightItem

SelectedHighlightedItems

The collection holding the selected highlighted item.

Declaration

cs-api-definition
public List<HighlightItem> SelectedHighlightedItems { get; }

Property Value

List<HighlightItem>

SpecialSlotsHighlightedItems

The collection holding the special slots highlighted items.

Declaration

cs-api-definition
public List<HighlightItem> SpecialSlotsHighlightedItems { get; }

Property Value

List<HighlightItem>

TimeRulerLinesPanel

Gets the panel that holds the TimeRuler lines.

Declaration

cs-api-definition
public ITimeRulerLinesPanel TimeRulerLinesPanel { get; }

Property Value

ITimeRulerLinesPanel

Implements IRadScheduleView.TimeRulerLinesPanel

TimeRulerPanel

Get the panel holding the RadScheduleView appoinments and TimeRuler items.

Declaration

cs-api-definition
public ITimeRulerPanel TimeRulerPanel { get; }

Property Value

ITimeRulerPanel

Implements IRadScheduleView.TimeRulerPanel

TimeRulerPanels

Get all of the TimerullerPanels.

Declaration

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

Property Value

IList<ITimeRulerPanel>

Implements IRadScheduleView.TimeRulerPanels

VerticalScrollBar

Get the Border indicating the width of the Headers panel.

Declaration

cs-api-definition
public ScrollBar VerticalScrollBar { get; }

Property Value

ScrollBar

ViewButtonsListBox

Get the top ListBox holding the change view buttons.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RadScheduleView.NavigationHeader.ViewButtonsListBox property instead.")]
public ListBox ViewButtonsListBox { get; }

Property Value

ListBox

Implements IRadScheduleView.ViewButtonsListBox

Methods

ChangeView(int)

Change the view with the given index.

Declaration

cs-api-definition
public void ChangeView(int viewIndex)

Parameters

viewIndex

int

The ScheduleView viewIndex to change to.

Implements IRadScheduleView.ChangeView(int)

ChangeView(string)

Change to view with spesifc text.

Declaration

cs-api-definition
public void ChangeView(string viewText)

Parameters

viewText

string

The ScheduleView view text to change to.

Implements IRadScheduleView.ChangeView(string)

ClickInSlot(MouseClickType, IGroupHeader, ITimeRulerItem, bool)

Performs spesific mouse action on spesific slot.

Declaration

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

Implements IRadScheduleView.ClickInSlot(MouseClickType, IGroupHeader, ITimeRulerItem, bool)

ClickInSlot(MouseClickType, string, string, bool)

Performs spesific mouse action on spesific slot.

Declaration

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

Implements IRadScheduleView.ClickInSlot(MouseClickType, string, string, bool)

DragAppointmentToAppointment(IAppointmentItem, IAppointmentItem, DropLocationType)

Drag and drop appointment to spesific side of another appointment.

Declaration

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

Implements IRadScheduleView.DragAppointmentToAppointment(IAppointmentItem, IAppointmentItem, DropLocationType)

DragAppointmentToAppointment(string, string, DropLocationType)

Indicates wheather the highlighted item is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.DragAppointmentToAppointment(string, string, DropLocationType)

DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

Drag and Drop appointment in spesific slot.

Declaration

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

Implements IRadScheduleView.DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, bool)

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

Declaration

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

Implements IRadScheduleView.DragAppointmentToSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, bool)

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

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

Declaration

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

The appointment to drag.

appointmentOffsetRef

OffsetReference

The appointment to drag.

appointmentXOffset

int

The appointment to drag.

appointmentYOffset

int

The appointment to drag.

groupHeader

IGroupHeader

The group header of the slot.

headertOffsetRef

OffsetReference

The group header of the slot.

headerXOffset

int

The group header of the slot.

headerYOffset

int

The group header of the slot.

timeRulerItem

ITimeRulerItem

The time ruler of the slot.

timeRulerOffsetRef

OffsetReference

The time ruler of the slot.

timeRulerXOffset

int

The time ruler of the slot.

timeRulerYOffset

int

The time ruler of the slot.

shouldDrop

bool

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

Returns

bool

Implements IRadScheduleView.DragAppointmentToSlot(IAppointmentItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)

DragAppointmentToSlot(string, string, string)

Drag and Drop appointment in spesific slot.

Declaration

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

Implements IRadScheduleView.DragAppointmentToSlot(string, string, string)

DragAppointmentToSlot(string, string, string, bool)

Drag and Drop appointment in spesific slot.

Declaration

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

Parameters

sourceAppointmentSubject

string

The appointment to drag.

groupHeaderText

string

The group header of the slot.

timeRulerItemText

string

The time ruler of the slot.

shouldDrop

bool

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

Returns

bool

DragToSelectSlots(IGroupHeader, ITimeRulerItem, IGroupHeader, ITimeRulerItem, bool)

Drag from one slot to another.

Declaration

cs-api-definition
public void DragToSelectSlots(IGroupHeader startGroupHeader, ITimeRulerItem startTimeRulerItem, IGroupHeader endGroupHeader, ITimeRulerItem endTimeRulerItem, bool shouldDrop = true)

Parameters

startGroupHeader

IGroupHeader

The group header of the start slot.

startTimeRulerItem

ITimeRulerItem

The time ruler of the start slot.

endGroupHeader

IGroupHeader

The group header of the end slot.

endTimeRulerItem

ITimeRulerItem

The time ruler of the end slot.

shouldDrop

bool

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

DragToSelectSlots(IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)

Drag from one slot to another.

Declaration

cs-api-definition
public void DragToSelectSlots(IGroupHeader startGroupHeader, OffsetReference startHeadertOffsetRef, int startHeaderXOffset, int startHeaderYOffset, ITimeRulerItem startTimeRulerItem, OffsetReference startTimeRulerOffsetRef, int startTimeRulerXOffset, int startTimeRulerYOffset, IGroupHeader endgroupHeader, OffsetReference endHeadertOffsetRef, int endHeaderXOffset, int endHeaderYOffset, ITimeRulerItem endTimeRulerItem, OffsetReference endTimeRulerOffsetRef, int endTimeRulerXOffset, int endTimeRulerYOffset, bool shouldDrop)

Parameters

startGroupHeader

IGroupHeader

The group header of the start slot.

startHeadertOffsetRef

OffsetReference

The offset reference from the start header.

startHeaderXOffset

int

The X offset from the start header offset reference

startHeaderYOffset

int

The Y offset from the start header offset reference

startTimeRulerItem

ITimeRulerItem

The time ruler of the start slot

startTimeRulerOffsetRef

OffsetReference

The offset reference from the start time ruler.

startTimeRulerXOffset

int

The X offset from the start time ruler offset reference

startTimeRulerYOffset

int

The Y offset from the start time ruler offset reference

endgroupHeader

IGroupHeader

The group header of the end slot.

endHeadertOffsetRef

OffsetReference

The offset reference from the end header.

endHeaderXOffset

int

The X offset from the end header offset reference

endHeaderYOffset

int

The Y offset from the end header offset reference

endTimeRulerItem

ITimeRulerItem

The offset reference from the end time ruler.

endTimeRulerOffsetRef

OffsetReference

The offset reference from the end time ruler.

endTimeRulerXOffset

int

The X offset from the end time ruler offset reference

endTimeRulerYOffset

int

The Y offset from the end time ruler offset reference

shouldDrop

bool

DragToSelectSlots(string, string, string, string, bool)

Drag from one slot to another.

Declaration

cs-api-definition
public void DragToSelectSlots(string startGroupHeaderText, string startTimeRulerItemText, string endGroupHeaderText, string endTimeRulerItemText, bool shouldDrop)

Parameters

startGroupHeaderText

string

The group header of the start slot.

startTimeRulerItemText

string

The time ruler of the start slot.

endGroupHeaderText

string

The group header of the end slot.

endTimeRulerItemText

string

The time ruler of the end slot.

shouldDrop

bool

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

GetActiveViewDefinitionIndex()

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

Declaration

cs-api-definition
public int GetActiveViewDefinitionIndex()

Returns

int

Implements IRadScheduleView.GetActiveViewDefinitionIndex()

GetActiveViewDefinitionText()

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

Declaration

cs-api-definition
public string GetActiveViewDefinitionText()

Returns

string

Implements IRadScheduleView.GetActiveViewDefinitionText()

GetMonthViewTimeRulerItemByTextAndGroupHeader(string, string)

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

Declaration

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

Implements IRadScheduleView.GetMonthViewTimeRulerItemByTextAndGroupHeader(string, string)

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
public bool HorizontalScrollToVisible(FrameworkElement item)

Parameters

item

FrameworkElement

Item to scroll to.

Returns

bool

Implements IRadScheduleView.HorizontalScrollToVisible(FrameworkElement)

IsAppoinmentInGroupHeader(IAppointmentItem, IGroupHeader)

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

Declaration

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

Parameters

appointment

IAppointmentItem

The appointment to check with.

groupHeader

IGroupHeader

The group header to check with.

Returns

bool

Implements IRadScheduleView.IsAppoinmentInGroupHeader(IAppointmentItem, IGroupHeader)

IsAppoinmentInGroupHeader(string, string)

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

Declaration

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

Implements IRadScheduleView.IsAppoinmentInGroupHeader(string, string)

IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

Indicates wheather appointment is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem)

IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

Indicates wheather appointment is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsAppoinmentInSlot(IAppointmentItem, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

IsAppoinmentInSlot(string, string, string)

Indicates wheather appointment is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsAppoinmentInSlot(string, string, string)

IsAppoinmentInSlot(string, string, string, string)

Indicates wheather appointment is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsAppoinmentInSlot(string, string, string, string)

IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem)

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

Declaration

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

Implements IRadScheduleView.IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem)

IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem, ITimeRulerItem)

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

Declaration

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

Implements IRadScheduleView.IsAppoinmentInTimeInterval(IAppointmentItem, ITimeRulerItem, ITimeRulerItem)

IsAppoinmentInTimeInterval(string, string)

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

Declaration

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

Implements IRadScheduleView.IsAppoinmentInTimeInterval(string, string)

IsAppoinmentInTimeInterval(string, string, string)

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

Declaration

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

Implements IRadScheduleView.IsAppoinmentInTimeInterval(string, string, string)

IsAppointmentShownInTheAllDayArea(string)

Indicates wheather appointment with spesific subject is shown in the all day area.

Declaration

cs-api-definition
public bool IsAppointmentShownInTheAllDayArea(string appointmentSubject)

Parameters

appointmentSubject

string

The text subject of the appointment.

Returns

bool

IsElementInGroupHeader(FrameworkElement, IGroupHeader)

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

Declaration

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

Parameters

element

FrameworkElement

The element to check with.

groupHeader

IGroupHeader

The group header to check with.

Returns

bool

Implements IRadScheduleView.IsElementInGroupHeader(FrameworkElement, IGroupHeader)

IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem)

Indicates wheather element is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem)

IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

Indicates wheather element is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsElementInSlot(FrameworkElement, IGroupHeader, ITimeRulerItem, ITimeRulerItem)

IsElementInTimeInterval(FrameworkElement, ITimeRulerItem)

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

Declaration

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

Implements IRadScheduleView.IsElementInTimeInterval(FrameworkElement, ITimeRulerItem)

IsElementInTimeInterval(FrameworkElement, ITimeRulerItem, ITimeRulerItem)

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

Declaration

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

Implements IRadScheduleView.IsElementInTimeInterval(FrameworkElement, ITimeRulerItem, ITimeRulerItem)

IsHighlightedItemInSlot(string, string)

Indicates wheather the selected item is withing a spesific slot.

Declaration

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

Implements IRadScheduleView.IsHighlightedItemInSlot(string, string)

NavigateBack()

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

Declaration

cs-api-definition
public void NavigateBack()

Implements IRadScheduleView.NavigateBack()

NavigateForward()

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

Declaration

cs-api-definition
public void NavigateForward()

Implements IRadScheduleView.NavigateForward()

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

Performs an anction on spesific control in the opened DialogWindow.

Declaration

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

Implements IRadScheduleView.PerformActionOnTheOpenedDialogWindow<T>(string, Func<T, bool>)

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

Verifies property of spesific control in the opened DialogWindow

Declaration

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

Implements IRadScheduleView.VerifyPropertyInTheOpenedDialogWindow<T>(string, Action<T>)

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
public bool VerticalScrollToVisible(FrameworkElement item)

Parameters

item

FrameworkElement

Item to scroll to.

Returns

bool

Implements IRadScheduleView.VerticalScrollToVisible(FrameworkElement)

In this article
DefinitionConstructorsRadScheduleView()PropertiesActiveViewDefinitionIndexAppointmentsPanelAppointmentsPanelGridCurrentDateDateHeaderTextDragDropHighlightedItemsGroupHeadersOrientationHeadersHeightHeadersWidthHighlightedItemHorizontalScrollBarMouseOverHighlightedItemNavigationDatePickerNavigationHeaderNavigationPanelOpenedDialogWindowReadOnlyHighlightedItemsResizeHighlightedItemSelectedHighlightedItemsSpecialSlotsHighlightedItemsTimeRulerLinesPanelTimeRulerPanelTimeRulerPanelsVerticalScrollBarViewButtonsListBoxMethodsChangeView(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)DragAppointmentToSlot(string, string, string, bool)DragToSelectSlots(IGroupHeader, ITimeRulerItem, IGroupHeader, ITimeRulerItem, bool)DragToSelectSlots(IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, IGroupHeader, OffsetReference, int, int, ITimeRulerItem, OffsetReference, int, int, bool)DragToSelectSlots(string, string, string, string, bool)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)IsAppointmentShownInTheAllDayArea(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