DataGridPrintStyle(DataGrid) Constructor
Initializes a new instance of the DataGridPrintStyle class with specified data grid.
Namespace: DevExpress.XtraPrintingLinks
Assembly: DevExpress.XtraPrinting.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing
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