GridColumn Properties
An abstract class that serves as the base class for grid columns.Name | Description |
---|---|
ActualCaption | Gets the column caption as it is displayed in a column header. |
AllowAutoFilter | Gets or sets whether users can enter a value in the Auto Filter Row. |
AllowSort | Specifies whether end users can sort data by the column. |
AutoFilterCondition | Gets or sets the filter condition (equals, contains, etc.) used to compare the value in the Auto-Filter Row with column values. |
AutoFilterValue | Gets or sets the value of the cell in the Auto Filter Row. |
BackgroundColor | Specifies the background color of the column’s cells. |
Caption | Gets or sets the caption displayed in the column header. |
Column | Specifies in which column of the grid’s multi-row layout (AdvancedColumnLayout) the column’s cells are located. |
ColumnSpan | Allows you to stretch the column’s cells across multiple columns within the grid’s multi-row layout (AdvancedColumnLayout). |
DisplayFormat | Gets or sets the pattern used to format cell values of the column. |
EditFormCaption | Specifies the caption of the editor associated with the current column in the edit form. |
FieldName | Gets or sets the name of the data source’s field associated with the grid column, or serves as an identifier for unbound columns. |
FilterMode | Gets or sets whether filters are applied to the actual cell values or to the text displayed in cells. |
FixedStyle | Gets or sets whether a column is fixed. |
GroupCaptionDisplayFormat | Gets or sets the pattern used to construct group row captions. |
GroupCaptionTemplate | Gets or sets the template that defines the visual representation of a group row caption. |
GroupInterval | Gets or sets how data rows are combined into groups. |
HeaderBackgroundColor | |
HeaderCaptionLineBreakMode | Specifies how to handle the caption text if it cannot fit on one line. |
HeaderContentTemplate | Gets or sets the template that defines the visual representation of the column header. |
HeaderFontAttributes | |
HeaderFontColor | |
HeaderFontFamily | |
HeaderFontSize | |
HeaderPadding | |
HeaderTextDecorations | |
HorizontalContentAlignment | Gets or sets the horizontal alignment of the column’s content. |
ImmediateUpdateAutoFilter | Gets or sets whether to filter data each time a value in the Auto Filter Row is changed or only when a cell in the Auto Filter Row loses focus. |
IsGrouped | Gets or sets whether the grid’s data is grouped by the current column. |
IsReadOnly | Gets or sets whether users are allowed to change cell values in the column. |
IsUnbound | Gets whether the column is unbound. |
IsVisible | Gets or sets whether the column is visible in the grid. |
MaxWidth | Gets or sets the column’s maximum width. |
MinWidth | Gets or sets the column’s minimum width. |
Padding | Specifies the distance between values and borders in the column’s cells. |
Row | Specifies in which row of the grid’s multi-row layout the column’s cells are located. |
RowSpan | Allows you to stretch the column’s cells across multiple rows within the grid’s multi-row layout (AdvancedColumnLayout). |
ShowFilterIcon | Gets or sets whether to show the filter icon in the Auto Filter Row‘s cell. |
SortIndex | Gets or sets the column’s position among sorted columns. |
SortMode | Specifies whether the grid should sort or group data by column values or display text. |
SortOrder | Gets or sets the column’s sort order. |
TotalSummaryTemplate | Gets or sets the template that defines the visual representation of the column’s total summary. |
UnboundExpression | Gets or sets an expression used to calculate values for the unbound column. |
UnboundType | Gets or sets whether the column is unbound, and the type of data the unbound column stores. |
VerticalContentAlignment | Gets or sets the vertical alignment of the column’s content. |
Width | Gets or sets the column’s width. |
See Also