Back to Devexpress

GridColumn Class

mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-120165dc.md

latest5.5 KB
Original Source

GridColumn Class

An abstract class that serves as the base class for grid columns.

Namespace : DevExpress.XamarinForms.DataGrid

Assembly : DevExpress.XamarinForms.Grid.dll

NuGet Package : DevExpress.XamarinForms.Grid

Declaration

csharp
public abstract class GridColumn :
    BindableObject,
    IFieldValueVisitor,
    IXtraSerializableLayoutEx

The following members return GridColumn objects:

Remarks

DataGridView represents fields of the bound data source as columns. An individual column is a GridColumn class descendant that corresponds to the type of data this column displays. The column’s FieldName property specifies the associated data source’s field.

The GridColumn class implements the basic functionality for a grid column. It provides properties to adjust column settings…

… and manage grid data:

The grid stores its columns in the Columns collection. It automatically generates columns based on the bound data source (AutoGenerateColumnsMode), or you can add columns to the grid and associate them with data fields manually. To create a column, do not create an instance of the GridColumn class directly, use its descendant instead. See the example Create Columns for Different Data Types.

Inheritance

Show 13 items

Object GridColumn CheckBoxColumn

ImageColumn

TextColumnBase

AutoCompleteColumn

PickerColumn

TemplateColumn

TextColumn

TimeColumn

DateColumn

NumberColumn

ComboBoxColumn

See Also

GridColumn Members

DevExpress.XamarinForms.DataGrid Namespace