New to Telerik UI for WinFormsStart a free 30-day trial

Represents the pivot grid print style.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class PivotGridPrintStyle

Inheritance: objectPivotGridPrintStyle

Constructors

C#
public PivotGridPrintStyle()

Properties

Gets or sets the color of the cell back.

C#
public Color CellBackColor { get; set; }
Property Value:

The color of the cell back.

Gets or sets the comact layout indent.

C#
public int ComactLayoutIndent { get; set; }
Property Value:

The comact layout indent.

Gets or sets the data cells font.

C#
public Font DataCellsFont { get; set; }
Property Value:

The data cells font.

Gets or sets the decriptors font.

C#
public Font DecriptorsFont { get; set; }
Property Value:

The decriptors font.

Gets or sets the color of the descriptors back.

C#
public Color DescriptorsBackColor { get; set; }
Property Value:

The color of the descriptors back.

Gets or sets the grand total cells font.

C#
public Font GrandTotalCellsFont { get; set; }
Property Value:

The grand total cells font.

Gets or sets the color of the grand totals back.

C#
public Color GrandTotalsBackColor { get; set; }
Property Value:

The color of the grand totals back.

Gets or sets the color of the grid lines.

C#
public Color GridLinesColor { get; set; }
Property Value:

The color of the grid lines.

Gets or sets the header cells font.

C#
public Font HeaderCellsFont { get; set; }
Property Value:

The header cells font.

Gets or sets the color of the headers back.

C#
public Color HeadersBackColor { get; set; }
Property Value:

The color of the headers back.

Gets or sets the type of the layout.

C#
public PivotLayout LayoutType { get; set; }
Property Value:

The type of the layout.

Gets or sets the page order.

C#
public PivotGridPrintPageOrder PageOrder { get; set; }
Property Value:

The page order.

Gets or sets the pivot grid.

C#
[Browsable(false)]
public RadPivotGridElement PivotGrid { get; }
Property Value:

The pivot grid.

Gets or sets the print selection only.

C#
public bool PrintSelectionOnly { get; set; }
Property Value:

The print selection only.

Gets or sets the scale mode.

C#
public PivotPrintScaleMode ScaleMode { get; set; }
Property Value:

The scale mode.

Gets or sets the show grid lines.

C#
public bool ShowGridLines { get; set; }
Property Value:

The show grid lines.

Gets or sets the sub total cells font.

C#
public Font SubTotalCellsFont { get; set; }
Property Value:

The sub total cells font.

Gets or sets the color of the sub totals back.

C#
public Color SubTotalsBackColor { get; set; }
Property Value:

The color of the sub totals back.

Methods

Draws the page.

C#
public virtual void DrawPage(Rectangle drawArea, Graphics graphics, int pageNumber)
Parameters:drawAreaRectangle

The draw area.

graphicsGraphics

The graphics.

pageNumberint

The page number.

Gets the aggregate descriptor cell.

C#
protected virtual RadPrintElement GetAggregateDescriptorCell(int index)
Parameters:indexint

The index.

Returns:

RadPrintElement

Gets the column descriptor cell.

C#
protected virtual RadPrintElement GetColumnDescriptorCell(int descriptorIndex)
Parameters:descriptorIndexint

Index of the descriptor.

Returns:

RadPrintElement

Gets the column header cell.

C#
protected virtual RadPrintElement GetColumnHeaderCell(int rowIndex, int columnIndex)
Parameters:rowIndexint

Index of the row.

columnIndexint

Index of the column.

Returns:

RadPrintElement

Gets the data cell.

C#
protected virtual RadPrintElement GetDataCell(int rowIndex, int columnIndex)
Parameters:rowIndexint

Index of the row.

columnIndexint

Index of the column.

Returns:

RadPrintElement

Gets the number of pages.

C#
public virtual int GetNumberOfPages(Rectangle drawArea)
Parameters:drawAreaRectangle

The draw area.

Returns:

int

Gets the print element for cell.

C#
protected virtual RadPrintElement GetPrintElementForCell(int i, int j)
Parameters:iint

The i.

jint

The j.

Returns:

RadPrintElement

Gets the row descriptor cell.

C#
protected virtual RadPrintElement GetRowDescriptorCell(int descriptorIndex)
Parameters:descriptorIndexint

Index of the descriptor.

Returns:

RadPrintElement

Gets the row header cell.

C#
protected virtual RadPrintElement GetRowHeaderCell(int rowIndex, int columnIndex)
Parameters:rowIndexint

Index of the row.

columnIndexint

Index of the column.

Returns:

RadPrintElement

Initializes this instance.

C#
public virtual void Initialize()

Prints the element.

C#
protected virtual void PrintElement(RadPrintElement element, Rectangle drawArea, Rectangle elementBounds, Graphics graphics)
Parameters:elementRadPrintElement

The element.

drawAreaRectangle

The draw area.

elementBoundsRectangle

The element bounds.

graphicsGraphics

The graphics.