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. |
Rad 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. |
Rad The scheduler. |
System. 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. |
Rad The scheduler. |
Returns
System. [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. The point. |
System. The day view elements. |
Returns
GetAppointmentAtPoint(Point, List<SchedulerDayViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System. The point. |
System. The day view elements. |
Returns
GetAppointmentAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters
System. The point. |
System. The month view elements. |
Returns
GetAppointmentAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the appointment at point.
Declaration
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters
System. The point. |
System. The timeline elements. |
Returns
GetCellAtPoint(Point, List<SchedulerDayViewElement>)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System. The point. |
System. The day view elements. |
Returns
GetCellAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the cell at point.
Declaration
public static MonthCellElement GetCellAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters
System. The point. |
System. The month view elements. |
Returns
GetCellAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters
System. The point. |
System. The timeline elements. |
Returns
GetCellAtPoint(Point, RadElementCollection)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, RadElementCollection children)
Parameters
System. The point. |
Rad The children. |
Returns
GetCellAtPoint(Point, RadScheduler)
Gets the cell at point.
Declaration
public static SchedulerCellElement GetCellAtPoint(Point point, RadScheduler scheduler)
Parameters
System. The point. |
Rad The scheduler. |
Returns
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
Rad The scheduler. |
Scheduler The day view element. |
System. Width of the available. |
System. The available width offsets. |
System. The days count. |
System. Index of the cell column. |
Returns
System.
|
GetCells(RadElementCollection)
Gets the cells.
Declaration
public static List<SchedulerCellElement> GetCells(RadElementCollection children)
Parameters
Rad The children. |
Returns
System.
|
GetCells(RadScheduler)
Gets the cells.
Declaration
public static List<SchedulerCellElement> GetCells(RadScheduler scheduler)
Parameters
Rad The scheduler. |
Returns
System.
|
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
Rad The scheduler. |
Scheduler The day view element. |
System. Width of the available. |
System. The available width offsets. |
System. The days count. |
System. Index of the cell column. |
Returns
System.
|
GetMonthViewAreaAtPoint(Point, List<SchedulerMonthViewElement>)
Gets the month view area at point.
Declaration
public static MonthViewAreaElement GetMonthViewAreaAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElement)
Parameters
System. The point. |
System. The month view element. |
Returns
GetTableAtPoint(Point, List<SchedulerDayViewElement>)
Gets the table at point.
Declaration
public static DayViewAppointmentsTable GetTableAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters
System. The point. |
System. The day view elements. |
Returns
GetTimelinePresenterAtPoint(Point, List<SchedulerTimelineViewElement>)
Gets the timeline presenter at point.
Declaration
public static TimelineAppointmentsPresenter GetTimelinePresenterAtPoint(Point point, List<SchedulerTimelineViewElement> timelineViewElements)
Parameters
System. The point. |
System. The timeline view elements. |
Returns
SetCellOpacity(SchedulerDayViewBase, SchedulerCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerDayViewBase childDayView, SchedulerCellElement cell)
Parameters
Scheduler The child day view. |
Scheduler The cell. |
SetCellOpacity(SchedulerMonthView, MonthCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerMonthView childMonthView, MonthCellElement cell)
Parameters
Scheduler The child month view. |
Month The cell. |
SetCellOpacity(SchedulerTimelineView, SchedulerCellElement)
Sets the cell opacity.
Declaration
public static void SetCellOpacity(SchedulerTimelineView childTimelineView, SchedulerCellElement cell)
Parameters
Scheduler The child timeline view. |
Scheduler The cell. |