Search
ItemDrawContext Members
Properties Methods
 


Provides information about an item being drawn by an item viewer.

The following tables list the members exposed by the ItemDrawContext type.

 Public Properties

  Name Description

Bounds

Gets the rectangle bounding the item contents.

Calendar

Gets the Calendar control, associated with the item.

EndsHere

Gets a value indicating whether the item part being drawn is the last part of the item.

Graphics

Gets or sets the target graphics object.

IsAllDayEvent

Gets a value indicating whether the item is an all day event or not. The item is always considered an all day event if it is drawn outside of a Timetable view.

IsHorizontal

Gets a value indicating the item's orientation.

IsMilestone

Gets a value indicating whether the item is rendered in milestone mode.

Item

Gets the item that is being drawn.

Pointed

Gets a value indicating whether the drawn item is pointed by the user.

StartsHere

Gets a value indicating whether the item part being drawn is the first part of the item.

Style

Gets the style that should be used to draw the item.

 Public Methods

  Name Description

DrawBorder

Renders the frame around the specified rectangle.

DrawContentsText

Renders the item's contents text at the specified location.

DrawDefault

Overloaded. Renders the item in its default appearance.

DrawHeaderBorder

Renders the header frame around the specified rectangle.

DrawHeaderText

Renders the item's header text at the specified location.

DrawRecurrenceIcon

Draws an icon representing the item's recurrence state at the specified location.

DrawReminderIcon

Draws an icon representing the item's reminder at the specified location.

DrawResizeIndicator

Draws an icon representing the item can be resized.

 See Also