Skip to main content
A newer version of this page is available. .

CustomDrawObjectEventArgs.Graphics Property

Gets an object used to paint the object.

Namespace: DevExpress.XtraNavBar.ViewInfo

Assembly: DevExpress.XtraNavBar.v19.1.dll

Declaration

public virtual Graphics Graphics { get; }

Property Value

Type Description
Graphics

A Graphics object used for painting.

Remarks

Use the Graphics property to access the object used to perform object painting. This object provides methods for drawing shapes, text and images to the associated display device.

The Graphics property returns the Graphics member value of the CustomDrawObjectEventArgs.ObjectInfo object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Graphics property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also