Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Initializes a new instance of the CustomDrawEmptyAreaEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#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