Skip to main content

CardView.CalcFieldHeight Event

Allows you provide custom height for individual card fields.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DXCategory("Appearance")]
public event FieldHeightEventHandler CalcFieldHeight

Event Data

The CalcFieldHeight event's data class is FieldHeightEventArgs. The following properties provide information specific to this event:

Property Description
Column Gets the GridColumn object that identifies the currently processed field.
FieldHeight Gets or sets the card field’s height.
RowHandle Gets the handle that identifies the currently processed card.

Remarks

A field’s height is calculated according to the CardOptionsBehavior.FieldAutoHeight property. If you need to change the default field height, handle the CalcFieldHeight event. To provide a custom height, use the event’s FieldHeight parameter.

See Also