Skip to main content

CustomDrawEmptyAreaEventArgs(GraphicsCache, Rectangle, Rectangle, Rectangle[], StyleObjectInfoArgs) Constructor

Initializes a new instance of the CustomDrawEmptyAreaEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

public CustomDrawEmptyAreaEventArgs(
    GraphicsCache cache,
    Rectangle emptyRows,
    Rectangle behindColumn,
    Rectangle[] emptyRectangles,
    StyleObjectInfoArgs info
)

Parameters

Name Type Description
cache GraphicsCache

A Graphics object providing a means for painting. This value is assigned to the CustomDrawEventArgs.Graphics property.

emptyRows Rectangle

A Rectangle structure which represents the bounding rectangle occupied by the empty rows. This value is assigned to the CustomDrawEmptyAreaEventArgs.EmptyRows property.

behindColumn Rectangle
emptyRectangles Rectangle[]

An array of rectangles that specify the empty area. This value is assigned to the CustomDrawEmptyAreaEventArgs.EmptyRectangles property.

info DevExpress.Utils.Drawing.StyleObjectInfoArgs

A DevExpress.Utils.Drawing.ObjectInfoArgs object providing information about the painted element. This value is assigned to the CustomDrawObjectEventArgs.Info property.

See Also