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

CustomDrawEventArgs(GraphicsCache, Rectangle, AppearanceObject) Constructor

Initializes a new instance of the CustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public CustomDrawEventArgs(
    GraphicsCache cache,
    Rectangle bounds,
    AppearanceObject appearance
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object that specifies the storage for the most used pens, fonts and brushes. This value is assigned to the CustomDrawEventArgs.Cache property.

bounds Rectangle

A Rectangle structure that represents the painted element’s bounding rectangle. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

An AppearanceObject object that specifies the painted element’s appearance settings. This value is assigned to the CustomDrawEventArgs.Appearance property.

See Also