DataGridPrintStyle(DataGrid) Constructor
Initializes a new instance of the DataGridPrintStyle class with the specified data grid.
Namespace: DevExpress.XtraPrintingLinks
Assembly: DevExpress.Printing.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
dataGrid | DataGrid | A DataGrid object whose print style settings are to be copied. |
Remarks
This method creates a new instance of the DataGridPrintStyle class, and then call the DataGridPrintStyle.CopyFrom method with the specified data grid as a parameter, so to initialize the newly created DataGridPrintStyle with the data gid’s settings.
See Also