Skip to main content

CustomDrawEventArgs Properties

Provides data for the GridView.CustomDrawGroupPanel and ColumnView.CustomDrawEmptyForeground events.
Name Description
Appearance Gets the painted element’s appearance settings.
Bounds Returns a value specifying limits for the drawing area.
Cache Provides methods to paint on drawing surfaces in GDI+ and DirectX modes. See DirectX hardware acceleration to learn more.
Graphics A GDI+ drawing surface. Use the CustomDrawEventArgs.Cache property instead if you enable the DirectX hardware acceleration.
Handled Gets or sets a value specifying whether an event was handled and that the default element painting is therefore not required.
See Also