Back to Devexpress

Card Field Value Cell

windowsforms-527-controls-and-libraries-data-grid-visual-elements-card-view-elements-card-field-value-cell.md

latest2.5 KB
Original Source

Card Field Value Cell

  • Jan 23, 2019

Card field value cells display values of data source fields in cards. Field names are displayed in field captions to the left of value cells. Value cells and field captions are elements of card fields.

Each card field is associated with an appropriate in-place editor displayed in a value cell. The inplace-editor determines how the corresponding field value is represented on the screen and the editing options available.

The following table lists the main properties affecting element appearance.

|

Appearance

|

CardViewAppearances.FieldValue

| |

Custom Draw Event

|

CardView.CustomDrawCardFieldValue

| |

Contents

|

Use the ColumnView.GetRowCellValue and ColumnView.GetRowCellDisplayText methods to obtain the value and its text representation for a particular cell. To modify the cell value, use the ColumnView.SetRowCellValue method.

| |

Width

|

The width is equal to a card‘s width minus the field caption‘s width.

|

See Also

Rows

Grid Columns

Cells

Edit Data. Create Cell Editors. Validate User Input

Appearance and Conditional Formatting