DataGridTableStyle Properties
.NET Framework 4.5
The DataGridTableStyle type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllowSorting | Indicates whether sorting is allowed on the grid table when this DataGridTableStyle is used. |
|
AlternatingBackColor | Gets or sets the background color of odd-numbered rows of the grid. |
|
BackColor | Gets or sets the background color of even-numbered rows of the grid. |
|
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
|
ColumnHeadersVisible | Gets or sets a value indicating whether column headers are visible. |
|
Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
|
DataGrid | Gets or sets the System.Windows.Forms.DataGrid control for the drawn table. |
|
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
|
Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
|
ForeColor | Gets or sets the foreground color of the grid table. |
|
GridColumnStyles | Gets the collection of columns drawn for this table. |
|
GridLineColor | Gets or sets the color of grid lines. |
|
GridLineStyle | Gets or sets the style of grid lines. |
|
HeaderBackColor | Gets or sets the background color of headers. |
|
HeaderFont | Gets or sets the font used for header captions. |
|
HeaderForeColor | Gets or sets the foreground color of headers. |
|
LinkColor | Gets or sets the color of link text. |
|
LinkHoverColor | Infrastructure. Gets or sets the color displayed when hovering over link text. |
|
MappingName | Gets or sets the name used to map this table to a specific data source. |
|
PreferredColumnWidth | Gets or sets the width used to create columns when a new grid is displayed. |
|
PreferredRowHeight | Gets or sets the height used to create a row when a new grid is displayed. |
|
ReadOnly | Gets or sets a value indicating whether columns can be edited. |
|
RowHeadersVisible | Gets or sets a value indicating whether row headers are visible. |
|
RowHeaderWidth | Gets or sets the width of row headers. |
|
SelectionBackColor | Gets or sets the background color of selected cells. |
|
SelectionForeColor | Gets or sets the foreground color of selected cells. |
|
Site | Gets or sets the ISite of the Component. (Inherited from Component.) |