New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerUIHelper

Inheritance: objectSchedulerUIHelper

Constructors

C#
public SchedulerUIHelper()

Methods

Navigates and scrolls to the specified appointment.

C#
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler, bool centerInView)
Parameters:appointmentIEvent

The appointment.

schedulerRadScheduler

The scheduler.

centerInViewbool

Indicates whether the appointment should be in the middle of new view

Navigates and scrolls to the specified appointment.

C#
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler)
Parameters:appointmentIEvent

The appointment.

schedulerRadScheduler

The scheduler.

Deletes the appointment.

C#
public static bool DeleteAppointment(IEvent appointment, RadScheduler scheduler)
Parameters:appointmentIEvent

The appointment.

schedulerRadScheduler

The scheduler.

Returns:

bool

[true] if the appointment was deleted, [false] otherwise.

Gets all day header at point.

C#
public static DayViewAllDayHeader GetAllDayHeaderAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters:pointPoint

The point.

dayViewElementsList<SchedulerDayViewElement>

The day view elements.

Returns:

DayViewAllDayHeader

Gets the appointment at point.

C#
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters:pointPoint

The point.

dayViewElementsList<SchedulerDayViewElement>

The day view elements.

Returns:

AppointmentElement

Gets the appointment at point.

C#
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters:pointPoint

The point.

monthViewElementsList<SchedulerMonthViewElement>

The month view elements.

Returns:

AppointmentElement

Gets the appointment at point.

C#
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters:pointPoint

The point.

timelineElementsList<SchedulerTimelineViewElement>

The timeline elements.

Returns:

AppointmentElement

Gets the cell at point.

C#
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters:pointPoint

The point.

dayViewElementsList<SchedulerDayViewElement>

The day view elements.

Returns:

SchedulerCellElement

Gets the cell at point.

C#
public static MonthCellElement GetCellAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)
Parameters:pointPoint

The point.

monthViewElementsList<SchedulerMonthViewElement>

The month view elements.

Returns:

MonthCellElement

Gets the cell at point.

C#
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)
Parameters:pointPoint

The point.

timelineElementsList<SchedulerTimelineViewElement>

The timeline elements.

Returns:

SchedulerCellElement

Gets the cell at point.

C#
public static SchedulerCellElement GetCellAtPoint(Point point, RadElementCollection children)
Parameters:pointPoint

The point.

childrenRadElementCollection

The children.

Returns:

SchedulerCellElement

Gets the cell at point.

C#
public static SchedulerCellElement GetCellAtPoint(Point point, RadScheduler scheduler)
Parameters:pointPoint

The point.

schedulerRadScheduler

The scheduler.

Returns:

SchedulerCellElement

Gets the cell H offset.

C#
public static float GetCellHOffset(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
Parameters:schedulerRadScheduler

The scheduler.

dayViewElementSchedulerDayViewElement

The day view element.

availableWidthfloat

Width of the available.

availableWidthOffsetsint[]

The available width offsets.

daysCountint

The days count.

cellColumnIndexint

Index of the cell column.

Returns:

float

Gets the cells.

C#
public static List<SchedulerCellElement> GetCells(RadElementCollection children)
Parameters:childrenRadElementCollection

The children.

Returns:

List<SchedulerCellElement>

Gets the cells.

C#
public static List<SchedulerCellElement> GetCells(RadScheduler scheduler)
Parameters:schedulerRadScheduler

The scheduler.

Returns:

List<SchedulerCellElement>

Gets the width of the cell.

C#
public static float GetCellWidth(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)
Parameters:schedulerRadScheduler

The scheduler.

dayViewElementSchedulerDayViewElement

The day view element.

availableWidthfloat

Width of the available.

availableWidthOffsetsint[]

The available width offsets.

daysCountint

The days count.

cellColumnIndexint

Index of the cell column.

Returns:

float

Gets the month view area at point.

C#
public static MonthViewAreaElement GetMonthViewAreaAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElement)
Parameters:pointPoint

The point.

monthViewElementList<SchedulerMonthViewElement>

The month view element.

Returns:

MonthViewAreaElement

Gets the table at point.

C#
public static DayViewAppointmentsTable GetTableAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)
Parameters:pointPoint

The point.

dayViewElementsList<SchedulerDayViewElement>

The day view elements.

Returns:

DayViewAppointmentsTable

Gets the timeline presenter at point.

C#
public static TimelineAppointmentsPresenter GetTimelinePresenterAtPoint(Point point, List<SchedulerTimelineViewElement> timelineViewElements)
Parameters:pointPoint

The point.

timelineViewElementsList<SchedulerTimelineViewElement>

The timeline view elements.

Returns:

TimelineAppointmentsPresenter

Sets the cell opacity.

C#
public static void SetCellOpacity(SchedulerDayViewBase childDayView, SchedulerCellElement cell)
Parameters:childDayViewSchedulerDayViewBase

The child day view.

cellSchedulerCellElement

The cell.

Sets the cell opacity.

C#
public static void SetCellOpacity(SchedulerMonthView childMonthView, MonthCellElement cell)
Parameters:childMonthViewSchedulerMonthView

The child month view.

cellMonthCellElement

The cell.

Sets the cell opacity.

C#
public static void SetCellOpacity(SchedulerTimelineView childTimelineView, SchedulerCellElement cell)
Parameters:childTimelineViewSchedulerTimelineView

The child timeline view.

cellSchedulerCellElement

The cell.