Skip to main content

CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle) Constructor

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.1.dll

NuGet Package: DevExpress.Win.Scheduler


public CustomDrawObjectEventArgs(
    ObjectInfoArgs objectInfo,
    Rectangle bounds


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