CustomDrawEventArgs(GraphicsCache, Rectangle, AppearanceObject, ObjectPainter) Constructor
Initializes a new instance of the CustomDrawEventArgs class with the specified CustomDrawEventArgs.Painter property.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public CustomDrawEventArgs(
GraphicsCache cache,
Rectangle bounds,
AppearanceObject appearance,
ObjectPainter painter
)
#Parameters
Name | Type | Description |
---|---|---|
cache | Graphics |
A Graphics |
bounds | Rectangle | A Rectangle structure which represents the painted element’s bounding rectangle. This value is assigned to the Custom |
appearance | Appearance |
An Appearance |
painter | DevExpress. |
An DevExpress. |