The members of System.Windows.Forms.DataGridTableStyle are listed below.
See Also: Inherited members from System.ComponentModel.Component
Initializes a new instance of the System.Windows.Forms.DataGridTableStyle class. | ||
Initializes a new instance of the System.Windows.Forms.DataGridTableStyle class using the specified value to determine whether the grid table is the default style. | ||
Initializes a new instance of the System.Windows.Forms.DataGridTableStyle class with the specified System.Windows.Forms.CurrencyManager. |
static readonly | DefaultTableStyle | DataGridTableStyle.
Gets the default table style. |
AllowSorting | bool.
Indicates whether sorting is allowed on the grid table when this System.Windows.Forms.DataGridTableStyle is used. | |
AlternatingBackColor | System.Drawing.Color.
Gets or sets the background color of odd-numbered rows of the grid. | |
BackColor | System.Drawing.Color.
Gets or sets the background color of even-numbered rows of the grid. | |
ColumnHeadersVisible | bool.
Gets or sets a value indicating whether column headers are visible. | |
DataGrid | DataGrid.
Gets or sets the System.Windows.Forms.DataGrid control for the drawn table. | |
ForeColor | System.Drawing.Color.
Gets or sets the foreground color of the grid table. | |
[read-only] | GridColumnStyles | GridColumnStylesCollection.
Gets the collection of columns drawn for this table. |
GridLineColor | System.Drawing.Color.
Gets or sets the color of grid lines. | |
GridLineStyle | DataGridLineStyle.
Gets or sets the style of grid lines. | |
HeaderBackColor | System.Drawing.Color.
Gets or sets the background color of headers. | |
HeaderFont | System.Drawing.Font.
Gets or sets the font used for header captions. | |
HeaderForeColor | System.Drawing.Color.
Gets or sets the foreground color of headers. | |
LinkColor | System.Drawing.Color.
Gets or sets the color of link text. | |
LinkHoverColor | System.Drawing.Color.
Gets or sets the color displayed when hovering over link text. | |
MappingName | string.
Gets or sets the name used to map this table to a specific data source. | |
PreferredColumnWidth | int.
Gets or sets the width used to create columns when a new grid is displayed. | |
PreferredRowHeight | int.
Gets or sets the height used to create a row when a new grid is displayed. | |
ReadOnly | bool.
Gets or sets a value indicating whether columns can be edited. | |
RowHeadersVisible | bool.
Gets or sets a value indicating whether row headers are visible. | |
RowHeaderWidth | int.
Gets or sets the width of row headers. | |
SelectionBackColor | System.Drawing.Color.
Gets or sets the background color of selected cells. | |
SelectionForeColor | System.Drawing.Color.
Gets or sets the foreground color of selected cells. |