Skip to main content
A newer version of this page is available. .

DataGridPrintStyle(DataGrid) Constructor

Initializes a new instance of the DataGridPrintStyle class with the specified data grid.

Namespace: DevExpress.XtraPrintingLinks

Assembly: DevExpress.Printing.v19.2.Core.dll

Declaration

public DataGridPrintStyle(
    DataGrid dataGrid
)

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