GridViewExtension.CreatePrintableObject(GridViewSettings, Object) Method
Enables a GridView to be printed using the XtraPrinting Library.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v18.2.dll
Declaration
public static IPrintable CreatePrintableObject(
GridViewSettings settings,
object dataObject
)
Parameters
Name | Type | Description |
---|---|---|
settings | GridViewSettings | A GridViewSettings object that contains GridView settings. |
dataObject | Object | An object representing the GridView’s data source (typically, it is passed to the grid’s GridViewExtension.Bind method). |
Returns
Type | Description |
---|---|
IPrintable | An object supporting the IPrintable interface that defines methods that enable GridView to be printed. |
See Also