Class SchedulerUIHelper
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerUIHelper
Constructors
SchedulerUIHelper()
Declaration
public SchedulerUIHelper()
Methods
BringAppointmentIntoView(IEvent, RadScheduler)
Navigates and scrolls to the specified appointment.
Declaration
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler)
Parameters
IEvent
appointment
The appointment. |
RadScheduler
scheduler
The scheduler. |
BringAppointmentIntoView(IEvent, RadScheduler, Boolean)
Navigates and scrolls to the specified appointment.
Declaration
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler, bool centerInView)
Parameters
IEvent
appointment
The appointment. |
RadScheduler
scheduler
The scheduler. |
System.Boolean
centerInView
Indicates whether the appointment should be in the middle of new view |
DeleteAppointment(IEvent, RadScheduler)
Deletes the appointment.
Declaration
public static bool DeleteAppointment(IEvent appointment, RadScheduler scheduler)
Parameters
IEvent
appointment
The appointment. |
RadScheduler
scheduler
The scheduler. |
Returns
System.Boolean
[true] if the appointment was deleted, [false] otherwise. |
GetAllDayHeaderAtPoint(Point, List<SchedulerDayViewElement>)
Gets all day header at point.
Declaration
public static DayViewAllDayHeader GetAllDayHeaderAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerDayViewElement>
dayViewElements
The day view elements. |
Returns
DayViewAllDayHeader
|
GetAppointmentAtPoint(Point, List<SchedulerDayViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerDayViewElement>
dayViewElements
The day view elements. |
Returns
AppointmentElement
|
GetAppointmentAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerMonthViewElement>
monthViewElements
The month view elements. |
Returns
AppointmentElement
|
GetAppointmentAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerTimelineViewElement>
timelineElements
The timeline elements. |
Returns
AppointmentElement
|
GetCellAtPoint(Point, List<SchedulerDayViewElement>)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerDayViewElement>
dayViewElements
The day view elements. |
Returns
SchedulerCellElement
|
GetCellAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the cell at point.
Declaration
public static MonthCellElement GetCellAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerMonthViewElement>
monthViewElements
The month view elements. |
Returns
MonthCellElement
|
GetCellAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerTimelineViewElement>
timelineElements
The timeline elements. |
Returns
SchedulerCellElement
|
GetCellAtPoint(Point, RadElementCollection)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, RadElementCollection children)
Parameters
System.Drawing.Point
point
The point. |
RadElementCollection
children
The children. |
Returns
SchedulerCellElement
|
GetCellAtPoint(Point, RadScheduler)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, RadScheduler scheduler)
Parameters
System.Drawing.Point
point
The point. |
RadScheduler
scheduler
The scheduler. |
Returns
SchedulerCellElement
|
GetCellHOffset(RadScheduler, SchedulerDayViewElement, Single, Int32[], Int32, Int32)
Gets the cell H offset.
Declaration
public static float GetCellHOffset(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerDayViewElement
dayViewElement
The day view element. |
System.Single
availableWidth
Width of the available. |
System.Int32[]
availableWidthOffsets
The available width offsets. |
System.Int32
daysCount
The days count. |
System.Int32
cellColumnIndex
Index of the cell column. |
Returns
System.Single
|
GetCells(RadElementCollection)
Gets the cells.
Declaration
public static List<SchedulerCellElement> GetCells(RadElementCollection children)
Parameters
RadElementCollection
children
The children. |
Returns
System.Collections.Generic.List<SchedulerCellElement>
|
GetCells(RadScheduler)
Gets the cells.
Declaration
public static List<SchedulerCellElement> GetCells(RadScheduler scheduler)
Parameters
RadScheduler
scheduler
The scheduler. |
Returns
System.Collections.Generic.List<SchedulerCellElement>
|
GetCellWidth(RadScheduler, SchedulerDayViewElement, Single, Int32[], Int32, Int32)
Gets the width of the cell.
Declaration
public static float GetCellWidth(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
Parameters
RadScheduler
scheduler
The scheduler. |
SchedulerDayViewElement
dayViewElement
The day view element. |
System.Single
availableWidth
Width of the available. |
System.Int32[]
availableWidthOffsets
The available width offsets. |
System.Int32
daysCount
The days count. |
System.Int32
cellColumnIndex
Index of the cell column. |
Returns
System.Single
|
GetMonthViewAreaAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the month view area at point.
Declaration
public static MonthViewAreaElement GetMonthViewAreaAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElement)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerMonthViewElement>
monthViewElement
The month view element. |
Returns
MonthViewAreaElement
|
GetTableAtPoint(Point, List<SchedulerDayViewElement>)
Gets the table at point.
Declaration
public static DayViewAppointmentsTable GetTableAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerDayViewElement>
dayViewElements
The day view elements. |
Returns
DayViewAppointmentsTable
|
GetTimelinePresenterAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the timeline presenter at point.
Declaration
public static TimelineAppointmentsPresenter GetTimelinePresenterAtPoint(Point point, List<SchedulerTimelineViewElement> timelineViewElements)
Parameters
System.Drawing.Point
point
The point. |
System.Collections.Generic.List<SchedulerTimelineViewElement>
timelineViewElements
The timeline view elements. |
Returns
TimelineAppointmentsPresenter
|
SetCellOpacity(SchedulerDayViewBase, SchedulerCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerDayViewBase childDayView, SchedulerCellElement cell)
Parameters
SchedulerDayViewBase
childDayView
The child day view. |
SchedulerCellElement
cell
The cell. |
SetCellOpacity(SchedulerMonthView, MonthCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerMonthView childMonthView, MonthCellElement cell)
Parameters
SchedulerMonthView
childMonthView
The child month view. |
MonthCellElement
cell
The cell. |
SetCellOpacity(SchedulerTimelineView, SchedulerCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerTimelineView childTimelineView, SchedulerCellElement cell)
Parameters
SchedulerTimelineView
childTimelineView
The child timeline view. |
SchedulerCellElement
cell
The cell. |