Enables drawing objects on the top of the scheduler view.
public event CustomDrawObjectEventHandler CustomDrawView
Public Event CustomDrawView As CustomDrawObjectEventHandler
The CustomDrawView event's data class is CustomDrawObjectEventArgs. The following properties provide information specific to this event:
|Bounds||Returns the bounding rectangle of the drawing area.|
|Cache||Gets an object which specifies the storage for the pens, fonts and brushes. Use it for custom painting in Scheduler Reports.|
|Graphics||Gets an object used for painting.|
|Handled||Gets or sets whether an event was handled. If it was handled, the default actions are not required.|
|ObjectInfo||Gets information on the painted element.|
The event data class exposes the following methods:
|DrawDefault()||Renders the element using the default drawing mechanism.|
Handle the CustomDrawView event to draw graphic objects on the surface of the Scheduler view. Use e.Cache and e.Graphics as drawing tools. Other properties of the CustomDrawObjectEventArgs instance can be ignored.