CustomDrawEventArgs(GraphicsCache, Rectangle, AppearanceObject) Constructor

Initializes a new instance of the CustomDrawEventArgs class.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.2.dll


public CustomDrawEventArgs(
    GraphicsCache cache,
    Rectangle bounds,
    AppearanceObject appearance
Public Sub New(
    cache As GraphicsCache,
    bounds As Rectangle,
    appearance As AppearanceObject


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 which represents the painted element's bounding rectangle. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

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

See Also