Skip to main content

CardCaptionCustomDrawEventArgs(GraphicsCache, CardInfo, AppearanceObject) Constructor

Initializes a new instance of the CardCaptionCustomDrawEventArgs class.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public CardCaptionCustomDrawEventArgs(
    GraphicsCache cache,
    CardInfo cardInfo,
    AppearanceObject appearance
)

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.

cardInfo DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo

A DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo object which contains the information required to paint a card. This value is assigned to the CardCaptionCustomDrawEventArgs.CardInfo 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.

See Also