Skip to main content

ObjectCustomDrawEventArgs(GraphicsCache, ObjectPainter, ObjectInfoArgs) Constructor

Initializes a new instance of the ObjectCustomDrawEventArgs class with specified settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public ObjectCustomDrawEventArgs(
    GraphicsCache cache,
    ObjectPainter painter,
    ObjectInfoArgs info
)

Parameters

Name Type Description
cache GraphicsCache

An object that provides access to the drawing surface and a cache of pens, fonts, and brushes.

painter DevExpress.Utils.Drawing.ObjectPainter

An object that performs paint operations.

info DevExpress.Utils.Drawing.ObjectInfoArgs

An object that contains information about the visual element being drawn.

See Also