SchedulerUIHelper
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerUIHelper
Inheritance: objectSchedulerUIHelper
Constructors
public SchedulerUIHelper()
Methods
Navigates and scrolls to the specified appointment.
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler, bool centerInView)
The appointment.
schedulerRadSchedulerThe scheduler.
centerInViewboolIndicates whether the appointment should be in the middle of new view
Navigates and scrolls to the specified appointment.
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler)
The appointment.
schedulerRadSchedulerThe scheduler.
Deletes the appointment.
public static bool DeleteAppointment(IEvent appointment, RadScheduler scheduler)
The appointment.
schedulerRadSchedulerThe scheduler.
Returns:[true] if the appointment was deleted, [false] otherwise.
Gets all day header at point.
public static DayViewAllDayHeader GetAllDayHeaderAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
The point.
dayViewElementsList<SchedulerDayViewElement>The day view elements.
Returns:Gets the appointment at point.
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
The point.
dayViewElementsList<SchedulerDayViewElement>The day view elements.
Returns:Gets the appointment at point.
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
The point.
monthViewElementsList<SchedulerMonthViewElement>The month view elements.
Returns:Gets the appointment at point.
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
The point.
timelineElementsList<SchedulerTimelineViewElement>The timeline elements.
Returns:Gets the cell at point.
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
The point.
dayViewElementsList<SchedulerDayViewElement>The day view elements.
Returns:Gets the cell at point.
public static MonthCellElement GetCellAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
The point.
monthViewElementsList<SchedulerMonthViewElement>The month view elements.
Returns:Gets the cell at point.
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
The point.
timelineElementsList<SchedulerTimelineViewElement>The timeline elements.
Returns:Gets the cell at point.
public static SchedulerCellElement GetCellAtPoint(Point point, RadElementCollection children)
The point.
childrenRadElementCollectionThe children.
Returns:Gets the cell at point.
public static SchedulerCellElement GetCellAtPoint(Point point, RadScheduler scheduler)
The point.
schedulerRadSchedulerThe scheduler.
Returns:Gets the cell H offset.
public static float GetCellHOffset(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
The scheduler.
dayViewElementSchedulerDayViewElementThe day view element.
availableWidthfloatWidth of the available.
availableWidthOffsetsint[]The available width offsets.
daysCountintThe days count.
cellColumnIndexintIndex of the cell column.
Returns:Gets the cells.
public static List<SchedulerCellElement> GetCells(RadElementCollection children)
The children.
Returns:List<SchedulerCellElement>
Gets the cells.
public static List<SchedulerCellElement> GetCells(RadScheduler scheduler)
The scheduler.
Returns:List<SchedulerCellElement>
Gets the width of the cell.
public static float GetCellWidth(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
The scheduler.
dayViewElementSchedulerDayViewElementThe day view element.
availableWidthfloatWidth of the available.
availableWidthOffsetsint[]The available width offsets.
daysCountintThe days count.
cellColumnIndexintIndex of the cell column.
Returns:Gets the month view area at point.
public static MonthViewAreaElement GetMonthViewAreaAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElement)
The point.
monthViewElementList<SchedulerMonthViewElement>The month view element.
Returns:Gets the table at point.
public static DayViewAppointmentsTable GetTableAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
The point.
dayViewElementsList<SchedulerDayViewElement>The day view elements.
Returns:Gets the timeline presenter at point.
public static TimelineAppointmentsPresenter GetTimelinePresenterAtPoint(Point point, List<SchedulerTimelineViewElement> timelineViewElements)
The point.
timelineViewElementsList<SchedulerTimelineViewElement>The timeline view elements.
Returns:Sets the cell opacity.
public static void SetCellOpacity(SchedulerDayViewBase childDayView, SchedulerCellElement cell)
The child day view.
cellSchedulerCellElementThe cell.
Sets the cell opacity.
public static void SetCellOpacity(SchedulerMonthView childMonthView, MonthCellElement cell)
The child month view.
cellMonthCellElementThe cell.
Sets the cell opacity.
public static void SetCellOpacity(SchedulerTimelineView childTimelineView, SchedulerCellElement cell)
The child timeline view.
cellSchedulerCellElementThe cell.