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.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

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

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object which 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 representing the painted element’s bounding rectangle. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint an element. This value is assigned to the CustomDrawEventArgs.Appearance property.

See Also