Skip to main content

CustomDrawEventArgs(GraphicsCache, Rectangle, AppearanceObject) Constructor

Initializes a new instance of the CustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.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