Class ColumnGroupsViewDefinitionPrintRenderer
Represents the print renderer for the ColumnGroupsViewDefinition
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class ColumnGroupsViewDefinitionPrintRenderer : BaseGridPrintRenderer, IGridPrintRenderer
Constructors
ColumnGroupsViewDefinitionPrintRenderer(RadGridView)
Initializes a new instance of the Column
Declaration
public ColumnGroupsViewDefinitionPrintRenderer(RadGridView grid)
Parameters
Rad The grid. |
Properties
ViewDefinitionType
Gets the view definition type this print style is for.
Declaration
public override Type ViewDefinitionType { get; }
Property Value
System. The type of the view definition. |
Overrides
Methods
DrawPage(PrintGridTraverser, Rectangle, Graphics, GridPrintSettings, Int32)
Renders a whole page using the settings provided.
Declaration
public override void DrawPage(PrintGridTraverser traverser, Rectangle drawArea, Graphics graphics, GridPrintSettings settings, int pageNumber)
Parameters
Print The traverser to iterate the grid with. |
System. The size of the drawable area. |
System. The graphics used for the drawing. |
Grid The print settings used for the drawing. |
System. The number of the current page. |
Overrides
GetRowSize(GridViewRowInfo, ColumnGroupRowLayout)
Gets the row size using the provided row layout.
Declaration
protected virtual Size GetRowSize(GridViewRowInfo row, ColumnGroupRowLayout rowLayout)
Parameters
Grid The row to measure. |
Column The row layout to be used for the measure. |
Returns
System. The size of the row. |
PrintRow(GridViewRowInfo, ColumnGroupRowLayout, GridPrintSettings, Int32, Int32, Graphics)
Prints a single row of the Rad
Declaration
protected virtual void PrintRow(GridViewRowInfo row, ColumnGroupRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
Parameters
Grid The actual row that is being printed. |
Column The Column |
Grid The print settings to print the row with. |
System. The X coordinate that the row should start to paint. |
System. The Y coordinate that the row should start to paint. |
System. The System. |
PrintRowWideCell(GridViewRowInfo, ColumnGroupRowLayout, GridPrintSettings, Int32, Int32, Graphics)
Prints a single cell that is wide as the whole Rad
Declaration
protected virtual void PrintRowWideCell(GridViewRowInfo row, ColumnGroupRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)
Parameters
Grid The actual row that is being printed. |
Column The Column |
Grid The print settings to print the row with. |
System. The X coordinate that the row should start to paint. |
System. The Y coordinate that the row should start to paint. |
System. The System. |
Reset()
Resets the print style for subsequent use.
Declaration
public override void Reset()