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