MindFusion WinForms Programmer's Guide
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 mouse is over the drawn item.

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 a frame around the specified rectangle.

DrawContentsText

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

DrawDefault

Overloaded. Renders the item in its default appearance.

DrawEndClock

Draws a clock icon representing the underlying item's end time at the specified location.

DrawFormattedContentsText

Renders the underlying item's contents text at the specified location, taking into consideration specific HTML tags.

DrawHeaderBorder

Renders a header frame around the specified rectangle.

DrawHeaderText

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

DrawImage

Draws the specified image in the specified rectangle, using the specified alignment.

DrawRecurrenceIcon

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

DrawReminderIcon

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

DrawStartClock

Draws a clock icon representing the underlying item's start time at the specified location.

 See Also

ItemDrawContext Class
MindFusion.Scheduling.WinForms Namespace