CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle, DefaultDrawDelegate) Constructor

Initializes a new instance of the CustomDrawObjectEventArgs class with specified settings.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public CustomDrawObjectEventArgs(
    ObjectInfoArgs objectInfo,
    Rectangle bounds,
    DefaultDrawDelegate defaultDrawDelegate
)
Public Sub New(
    objectInfo As ObjectInfoArgs,
    bounds As Rectangle,
    defaultDrawDelegate As DefaultDrawDelegate
)

Parameters

Name Type Description
objectInfo DevExpress.Utils.Drawing.ObjectInfoArgs

A DevExpress.Utils.Drawing.ObjectInfoArgs value that provides information on the object.

bounds Rectangle

A Rectangle value that specifies the object's bounding rectangle.

defaultDrawDelegate DevExpress.XtraScheduler.DefaultDrawDelegate

A delegate method used to perform default object drawing.

See Also