Skip to main content
A newer version of this page is available.

CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle) Constructor

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public CustomDrawObjectEventArgs(
    ObjectInfoArgs objectInfo,
    Rectangle bounds
)

Parameters

Name Type Description
objectInfo DevExpress.Utils.Drawing.ObjectInfoArgs

A DevExpress.Utils.Drawing.ObjectInfoArgs value that provides information on the object. This value is assigned to the CustomDrawObjectEventArgs.ObjectInfo property.

bounds Rectangle

A Rectangle value that specifies the object’s bounding rectangle. This value is assigned to the CustomDrawObjectEventArgs.Bounds property.

See Also