DataGridPrintStyle Members

Represents a print style used to print the DataGrid via the DataGridLink.

Constructors

Name Description
DataGridPrintStyle() Initializes a new instance of the DataGridPrintStyle class with the default settings.
DataGridPrintStyle(DataGridPrintStyle) Initializes a new instance of the DataGridPrintStyle class with the specified source print style.
DataGridPrintStyle(DataGrid) Initializes a new instance of the DataGridPrintStyle class with the specified data grid.

Properties

Name Description
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.
CaptionBackColor Gets or sets the background color of the caption area.
CaptionForeColor Gets or sets the foreground color of the caption area.
FlatMode Gets or sets a value indicating whether the grid is printed in flat mode.
ForeColor Gets or sets the foreground color (typically the color of the text) of the data grid.
GridLineColor Gets or sets the color of the grid lines.
GridLineStyle Gets or sets the line style of the grid.
HeaderBackColor Gets or sets the background color of all row and column headers.
HeaderForeColor Gets or sets the foreground color of headers.

Methods

Name Description
CopyFrom(DataGridPrintStyle) Duplicates the properties of the specified print style into the current DataGridPrintStyle instance.
CopyFrom(DataGrid) Duplicates the properties of the specified data grid's print style into the current DataGridPrintStyle instance.
Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone() protected Creates a shallow copy of the current Object.
(Inherited from Object)
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ToString() Returns the textual representation of the print style.
See Also