MobileForms Toolkit Documentation

Office11Renderer.CalculateGripRect Method 

Calculate the appointment grip rectangle height.

public static Rectangle CalculateGripRect(
Rectangle rect,
CustomAppointment appointment,
int hourLines,
int halfHourHeight
);

Parameters

rect
A Rectangle that limits the drawing region of this Graphics.
appointment
The CustomAppointment.
hourLines
Specifies the number of lines in one hour of OutlookWeekCalendar.
halfHourHeight
The height of one row in OutlookWeekCalendar.

Return Value

The new calculated rectangle for the appointment grip.

See Also

Office11Renderer Class | Resco.Controls.OutlookControls Namespace