Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CustomDrawEventArgs.Graphics Property

Gets an object used to paint.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#Declaration

public Graphics Graphics { get; }

#Property Value

Type Description
Graphics

A Graphics object providing painting facilities.

#Remarks

The Graphics property gives you access to an object that represents the painting surface and provides a means to perform painting. When custom painting, you can use this object’s methods and properties to draw text, graphics primitives and images. Note that painted elements must reside within the area specified by the CustomDrawEventArgs.Bounds property. Otherwise, they will overlap other elements within the control.

See Also