CardView.CalcFieldHeight Event
In This Article
Allows you provide custom height for individual card fields.
Namespace: DevExpress.XtraGrid.Views.Card
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#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 Grid |
Field |
Gets or sets the card field’s height. |
Row |
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