Skip to main content

CustomDrawSeparatorEventArgs(GraphicsCache, Rectangle, AppearanceObject, MultiEditorRow) Constructor

Initializes a new instance of the CustomDrawSeparatorEventArgs class.

Namespace: DevExpress.XtraVerticalGrid.Events

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public CustomDrawSeparatorEventArgs(
    GraphicsCache cache,
    Rectangle r,
    AppearanceObject appearance,
    MultiEditorRow row
)

Parameters

Name Type Description
cache GraphicsCache

A GraphicsCache object which specifies the storage for the most used pens, fonts and brushes. This value is assigned to the CustomDrawEventArgs.Cache property.

r Rectangle

A Rectangle structure representing the painted element’s bounding rectangle. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

A AppearanceObject object which provides the appearance settings used to paint an element. This value is assigned to the CustomDrawEventArgs.Appearance property.

row MultiEditorRow

A MultiEditorRow object which represents the multi-editor row whose separator is to be painted. This value is assigned to the CustomDrawSeparatorEventArgs.Row property.

See Also