Class
SchedulerUIHelper

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerUIHelper

Inheritance: objectSchedulerUIHelper

Constructors

SchedulerUIHelper()

Declaration

cs-api-definition
public SchedulerUIHelper()

Methods

BringAppointmentIntoView(IEvent, RadScheduler)

Navigates and scrolls to the specified appointment.

Declaration

cs-api-definition
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler)

Parameters

appointment

IEvent

The appointment.

scheduler

RadScheduler

The scheduler.

BringAppointmentIntoView(IEvent, RadScheduler, bool)

Navigates and scrolls to the specified appointment.

Declaration

cs-api-definition
public static void BringAppointmentIntoView(IEvent appointment, RadScheduler scheduler, bool centerInView)

Parameters

appointment

IEvent

The appointment.

scheduler

RadScheduler

The scheduler.

centerInView

bool

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

DeleteAppointment(IEvent, RadScheduler)

Deletes the appointment.

Declaration

cs-api-definition
public static bool DeleteAppointment(IEvent appointment, RadScheduler scheduler)

Parameters

appointment

IEvent

The appointment.

scheduler

RadScheduler

The scheduler.

Returns

bool

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

GetAllDayHeaderAtPoint(Point, List<SchedulerDayViewElement>)

Gets all day header at point.

Declaration

cs-api-definition
public static DayViewAllDayHeader GetAllDayHeaderAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)

Parameters

point

Point

The point.

dayViewElements

List<SchedulerDayViewElement>

The day view elements.

Returns

DayViewAllDayHeader

GetAppointmentAtPoint(Point, List<SchedulerDayViewElement>)

Gets the appointment at point.

Declaration

cs-api-definition
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)

Parameters

point

Point

The point.

dayViewElements

List<SchedulerDayViewElement>

The day view elements.

Returns

AppointmentElement

GetAppointmentAtPoint(Point, List<SchedulerMonthViewElement>)

Gets the appointment at point.

Declaration

cs-api-definition
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)

Parameters

point

Point

The point.

monthViewElements

List<SchedulerMonthViewElement>

The month view elements.

Returns

AppointmentElement

GetAppointmentAtPoint(Point, List<SchedulerTimelineViewElement>)

Gets the appointment at point.

Declaration

cs-api-definition
public static AppointmentElement GetAppointmentAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)

Parameters

point

Point

The point.

timelineElements

List<SchedulerTimelineViewElement>

The timeline elements.

Returns

AppointmentElement

GetCellAtPoint(Point, List<SchedulerDayViewElement>)

Gets the cell at point.

Declaration

cs-api-definition
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)

Parameters

point

Point

The point.

dayViewElements

List<SchedulerDayViewElement>

The day view elements.

Returns

SchedulerCellElement

GetCellAtPoint(Point, List<SchedulerMonthViewElement>)

Gets the cell at point.

Declaration

cs-api-definition
public static MonthCellElement GetCellAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElements)

Parameters

point

Point

The point.

monthViewElements

List<SchedulerMonthViewElement>

The month view elements.

Returns

MonthCellElement

GetCellAtPoint(Point, List<SchedulerTimelineViewElement>)

Gets the cell at point.

Declaration

cs-api-definition
public static SchedulerCellElement GetCellAtPoint(Point point, List<SchedulerTimelineViewElement> timelineElements)

Parameters

point

Point

The point.

timelineElements

List<SchedulerTimelineViewElement>

The timeline elements.

Returns

SchedulerCellElement

GetCellAtPoint(Point, RadElementCollection)

Gets the cell at point.

Declaration

cs-api-definition
public static SchedulerCellElement GetCellAtPoint(Point point, RadElementCollection children)

Parameters

point

Point

The point.

children

RadElementCollection

The children.

Returns

SchedulerCellElement

GetCellAtPoint(Point, RadScheduler)

Gets the cell at point.

Declaration

cs-api-definition
public static SchedulerCellElement GetCellAtPoint(Point point, RadScheduler scheduler)

Parameters

point

Point

The point.

scheduler

RadScheduler

The scheduler.

Returns

SchedulerCellElement

GetCellHOffset(RadScheduler, SchedulerDayViewElement, float, int[], int, int)

Gets the cell H offset.

Declaration

cs-api-definition
public static float GetCellHOffset(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)

Parameters

scheduler

RadScheduler

The scheduler.

dayViewElement

SchedulerDayViewElement

The day view element.

availableWidth

float

Width of the available.

availableWidthOffsets

int[]

The available width offsets.

daysCount

int

The days count.

cellColumnIndex

int

Index of the cell column.

Returns

float

GetCellWidth(RadScheduler, SchedulerDayViewElement, float, int[], int, int)

Gets the width of the cell.

Declaration

cs-api-definition
public static float GetCellWidth(RadScheduler scheduler, SchedulerDayViewElement dayViewElement, float availableWidth, int[] availableWidthOffsets, int daysCount, int cellColumnIndex)

Parameters

scheduler

RadScheduler

The scheduler.

dayViewElement

SchedulerDayViewElement

The day view element.

availableWidth

float

Width of the available.

availableWidthOffsets

int[]

The available width offsets.

daysCount

int

The days count.

cellColumnIndex

int

Index of the cell column.

Returns

float

GetCells(RadElementCollection)

Gets the cells.

Declaration

cs-api-definition
public static List<SchedulerCellElement> GetCells(RadElementCollection children)

Parameters

children

RadElementCollection

The children.

Returns

List<SchedulerCellElement>

GetCells(RadScheduler)

Gets the cells.

Declaration

cs-api-definition
public static List<SchedulerCellElement> GetCells(RadScheduler scheduler)

Parameters

scheduler

RadScheduler

The scheduler.

Returns

List<SchedulerCellElement>

GetMonthViewAreaAtPoint(Point, List<SchedulerMonthViewElement>)

Gets the month view area at point.

Declaration

cs-api-definition
public static MonthViewAreaElement GetMonthViewAreaAtPoint(Point point, List<SchedulerMonthViewElement> monthViewElement)

Parameters

point

Point

The point.

monthViewElement

List<SchedulerMonthViewElement>

The month view element.

Returns

MonthViewAreaElement

GetTableAtPoint(Point, List<SchedulerDayViewElement>)

Gets the table at point.

Declaration

cs-api-definition
public static DayViewAppointmentsTable GetTableAtPoint(Point point, List<SchedulerDayViewElement> dayViewElements)

Parameters

point

Point

The point.

dayViewElements

List<SchedulerDayViewElement>

The day view elements.

Returns

DayViewAppointmentsTable

GetTimelinePresenterAtPoint(Point, List<SchedulerTimelineViewElement>)

Gets the timeline presenter at point.

Declaration

cs-api-definition
public static TimelineAppointmentsPresenter GetTimelinePresenterAtPoint(Point point, List<SchedulerTimelineViewElement> timelineViewElements)

Parameters

point

Point

The point.

timelineViewElements

List<SchedulerTimelineViewElement>

The timeline view elements.

Returns

TimelineAppointmentsPresenter

SetCellOpacity(SchedulerDayViewBase, SchedulerCellElement)

Sets the cell opacity.

Declaration

cs-api-definition
public static void SetCellOpacity(SchedulerDayViewBase childDayView, SchedulerCellElement cell)

Parameters

childDayView

SchedulerDayViewBase

The child day view.

cell

SchedulerCellElement

The cell.

SetCellOpacity(SchedulerMonthView, MonthCellElement)

Sets the cell opacity.

Declaration

cs-api-definition
public static void SetCellOpacity(SchedulerMonthView childMonthView, MonthCellElement cell)

Parameters

childMonthView

SchedulerMonthView

The child month view.

cell

MonthCellElement

The cell.

SetCellOpacity(SchedulerTimelineView, SchedulerCellElement)

Sets the cell opacity.

Declaration

cs-api-definition
public static void SetCellOpacity(SchedulerTimelineView childTimelineView, SchedulerCellElement cell)

Parameters

childTimelineView

SchedulerTimelineView

The child timeline view.

cell

SchedulerCellElement

The cell.