GridColumnDefinition Members
The GridColumnDefinition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
GridColumnDefinition(String, String) |
Creates a column with just a header and a data-bound property name.
|
|
|
GridColumnDefinition(String, String, Int32) |
Creates a column with a fixed pixel width.
|
|
|
GridColumnDefinition(String, String, Boolean) |
Creates a column whose initial visibility is set explicitly. Useful when the column is
data-bound but should be rendered conditionally.
|
|
|
GridColumnDefinition()()()() |
Creates an empty column definition. The parameterless constructor exists so the type can
be declared inline in .ascx markup with attributes set afterwards.
|
Properties
| Name | Description | |
|---|---|---|
|
|
DataField |
Property name on the row's data object to data-bind to. Also used as the column's
UniqueName, so it must be distinct across the grid's columns.
|
|
|
HeaderCssClass |
Extra CSS class appended to the header cell. Combined with the framework class
advantageGrid-column-header.
|
|
|
HeaderText |
Text rendered in the column header.
|
|
|
ItemCssClass |
Extra CSS class appended to each data cell in this column. Combined with the framework
class advantageGrid-column-item.
|
|
|
Visible |
Controls whether the column is rendered. Defaults to true.
|
|
|
Width |
Fixed column width in pixels. Leave at 0 to let Telerik auto-size based on
content.
|

