Skip to main content
A newer version of this page is available. .

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.
AllowSort Specifies whether end users can sort data by the column.
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.
FixedStyle Gets or sets whether a column is fixed.
FontAttributes Specifies whether the text in the column’s cells is bold or italic.
FontColor Specifies the color for the text in column’s cells.
FontFamily Specifies the font name for the text in column’s cells.
FontSize Specifies the font size for the text in column’s cells.
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.
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.
HorizontalContentAlignment Gets or sets the horizontal alignment of the column’s content.
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).
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.
TextDecorations Allows you to underline and/or cross out the text in the column’s cells.
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