CardCaptionCustomDrawEventArgs(GraphicsCache, Rectangle, AppearanceObject, Int32) Constructor

Initializes a new instance of the CardCaptionCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public CardCaptionCustomDrawEventArgs(
    GraphicsCache cache,
    Rectangle bounds,
    AppearanceObject appearance,
    int rowHandle
)
Public Sub New(
    cache As GraphicsCache,
    bounds As Rectangle,
    appearance As AppearanceObject,
    rowHandle As Integer
)

Parameters

Name Type Description
cache GraphicsCache

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

bounds Rectangle

A Rectangle structure that specifies the boundaries of the painted element. This value is assigned to the CustomDrawEventArgs.Bounds property.

appearance AppearanceObject

An AppearanceObject object that provides the appearance settings used to paint a card caption. This value is assigned to the CustomDrawEventArgs.Appearance property.

rowHandle Int32

An integer value identifying the card whose caption is painted. This value is assigned to the CardCaptionCustomDrawEventArgs.RowHandle property.

See Also