Class
ColumnGroupsViewDefinitionPrintRenderer

Represents the print renderer for the ColumnGroupsViewDefinition

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class ColumnGroupsViewDefinitionPrintRenderer : BaseGridPrintRenderer, IGridPrintRenderer

Inheritance: objectBaseGridPrintRendererColumnGroupsViewDefinitionPrintRenderer

Implements: IGridPrintRenderer

Inherited Members BaseGridPrintRenderer.CreateHeaderCellPrintElement(GridViewColumn)BaseGridPrintRenderer.CreateGroupCellPrintElement(GridViewGroupRowInfo)BaseGridPrintRenderer.CreateDataCellPrintElement(GridViewCellInfo, RectangleF)BaseGridPrintRenderer.CreateDataCellPrintElement(GridViewCellInfo)BaseGridPrintRenderer.CreateSummaryCellPrintElement(GridViewCellInfo)BaseGridPrintRenderer.CreateImageCellPrintElement(GridViewCellInfo)BaseGridPrintRenderer.CreateSparklineCellPrintElement(GridViewCellInfo, RectangleF)BaseGridPrintRenderer.GetDataRowHeight(GridViewRowInfo, TableViewRowLayoutBase)BaseGridPrintRenderer.GetCellDesiredSize(GridCellElement)BaseGridPrintRenderer.DetachSparkElemnt()BaseGridPrintRenderer.OnPrintCellPaint(PrintCellPaintEventArgs)BaseGridPrintRenderer.OnPrintCellFormatting(PrintCellFormattingEventArgs)BaseGridPrintRenderer.OnChildViewPrinting(ChildViewPrintingEventArgs)BaseGridPrintRenderer.GridViewBaseGridPrintRenderer.PrintCellPaintBaseGridPrintRenderer.PrintCellFormattingBaseGridPrintRenderer.ChildViewPrinting

Constructors

ColumnGroupsViewDefinitionPrintRenderer(RadGridView)

Initializes a new instance of the ColumnGroupsViewDefinitionPrintRenderer class.

Declaration

cs-api-definition
public ColumnGroupsViewDefinitionPrintRenderer(RadGridView grid)

Parameters

grid

RadGridView

The grid.

Properties

ViewDefinitionType

Gets the view definition type this print style is for.

Declaration

cs-api-definition
public override Type ViewDefinitionType { get; }

Property Value

Type

The type of the view definition.

Overrides BaseGridPrintRenderer.ViewDefinitionType

Methods

DrawPage(PrintGridTraverser, Rectangle, Graphics, GridPrintSettings, int)

Renders a whole page using the settings provided.

Declaration

cs-api-definition
public override void DrawPage(PrintGridTraverser traverser, Rectangle drawArea, Graphics graphics, GridPrintSettings settings, int pageNumber)

Parameters

traverser

PrintGridTraverser

The traverser to iterate the grid with.

drawArea

Rectangle

The size of the drawable area.

graphics

Graphics

The graphics used for the drawing.

settings

GridPrintSettings

The print settings used for the drawing.

pageNumber

int

The number of the current page.

Overrides BaseGridPrintRenderer.DrawPage(PrintGridTraverser, Rectangle, Graphics, GridPrintSettings, int)

GetRowSize(GridViewRowInfo, ColumnGroupRowLayout)

Gets the row size using the provided row layout.

Declaration

cs-api-definition
protected virtual Size GetRowSize(GridViewRowInfo row, ColumnGroupRowLayout rowLayout)

Parameters

row

GridViewRowInfo

The row to measure.

rowLayout

ColumnGroupRowLayout

The row layout to be used for the measure.

Returns

Size

The size of the row.

PrintRow(GridViewRowInfo, ColumnGroupRowLayout, GridPrintSettings, int, int, Graphics)

Prints a single row of the RadGridView.

Declaration

cs-api-definition
protected virtual void PrintRow(GridViewRowInfo row, ColumnGroupRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)

Parameters

row

GridViewRowInfo

The actual row that is being printed.

rowLayout

ColumnGroupRowLayout

The ColumnGroupRowLayout used for layouting the cells.

settings

GridPrintSettings

The print settings to print the row with.

currentX

int

The X coordinate that the row should start to paint.

currentY

int

The Y coordinate that the row should start to paint.

graphics

Graphics

The Graphics used for the drawing.

PrintRowWideCell(GridViewRowInfo, ColumnGroupRowLayout, GridPrintSettings, int, int, Graphics)

Prints a single cell that is wide as the whole RadGridView.

Declaration

cs-api-definition
protected virtual void PrintRowWideCell(GridViewRowInfo row, ColumnGroupRowLayout rowLayout, GridPrintSettings settings, int currentX, int currentY, Graphics graphics)

Parameters

row

GridViewRowInfo

The actual row that is being printed.

rowLayout

ColumnGroupRowLayout

The ColumnGroupRowLayout used for layouting the cells.

settings

GridPrintSettings

The print settings to print the row with.

currentX

int

The X coordinate that the row should start to paint.

currentY

int

The Y coordinate that the row should start to paint.

graphics

Graphics

The Graphics used for the drawing.

Reset()

Resets the print style for subsequent use.

Declaration

cs-api-definition
public override void Reset()

Overrides BaseGridPrintRenderer.Reset()