PocketPlanner Programmer's Guide

Calendar.GetItemBounds Method

See Also

Retrieves the bounding rectangle of the specified item.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public Rectangle GetItemBounds (
    Item item
)

Visual Basic

Public Function GetItemBounds ( _
    item As Item _
) As Rectangle

 Parameters

item
A reference to the item whose bounds to retrieve.

 Return Value

The visible part of the bounding rectangle of the specified item, expressed in coordinates relative to the control. The return value is Rectangle.Empty if the item is not visible.

 See Also