CustomDrawObjectEventArgs(ObjectInfoArgs, Rectangle) Constructor

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

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

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