Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataGridTableStyle Properties

The DataGridTableStyle type exposes the following members.

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