CardView.CalcFieldHeight Event

Allows you provide custom height for individual card fields.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[DXCategory("Appearance")]
public event FieldHeightEventHandler CalcFieldHeight
<DXCategory("Appearance")>
Public Event CalcFieldHeight As FieldHeightEventHandler

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