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

CustomDrawBackgroundEventArgs.Graphics Property

Returns an object that provides painting facilities.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

public Graphics Graphics { get; }

Property Value

Type Description
Graphics

A System.Drawing.Graphics object that provides painting facilities.

Remarks

If the font’s Unit property is not set to GraphicsUnit.Pixel, the font size of the text drawn by the Graphics.DrawString method is scaled based on the DPI settings.

See Also