NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridColumn Properties

The properties of the DataGridColumn class are listed below. For a complete list of DataGridColumn class members, see the DataGridColumn Members topic.

Public:

Alignment Gets or sets the alignment of text in a column.
AlternatingBackColor Gets or sets the background color of alternating rows for a ledger appearance.
BackColor Gets or sets the background color of the column.
DataGrid Gets the TBD control that the DataGridColumn belongs to.
DataGridTable Gets the DataGridTable for the column.
Font Gets or sets the font that is used to display text in the column.
ForeColor Gets or sets the foreground color of the column.
Header Gets or sets the text of the column header.
NullText Gets or sets the text that is displayed when the column contains a null value.
PropertyDescriptor Gets or sets the DataColumn that determines the attributes of data displayed by the DataGridColumn.
ReadOnly Gets or sets a value indicating whether the data in the column cannot be edited.
Site (inherited from Component) Gets or sets the site of the Component.
Width Gets or sets the width of the column.

Protected:

FontHeight Gets the height of the column's font.

See Also

DataGridColumn Class | System.WinForms Namespace