Table of Contents

Class ReportPageItem

Namespace
DocWright.Reporting.Pagination
Assembly
DocWright.Reporting.dll

One report item as it appears on one page: its position, its box style, and what it contains.

public abstract class ReportPageItem
Inheritance
ReportPageItem
Derived
Inherited Members

Remarks

Coordinates are twips from the page's top-left corner. An item that continues onto another page appears on each page it touches, as a separate item with the same Id.

Page items are built by ReportPaginator; the constructors are not public, so the model can gain members without breaking anyone who reads it.

Properties

Actions

Gets what clicking the item does (ActionInfo), in the definition's order: usually none or one.

Bookmark

Gets the item's evaluated Bookmark, which a BookmarkLink and Bookmarks find it by, or null.

Children

Gets the items a rectangle contains on this page, in drawing order.

Height

Gets the height of the part of the item on this page.

Id

Gets an identifier that is stable across paginations of the same instance: the item's name and, for an item repeated by data, its position in the data. Every fragment of one item shares it.

Kind

Gets what kind of item this is.

Left

Gets the left edge, in twips from the page's left edge.

Name

Gets the item's Name in the definition, or an empty string.

OutlineLevel

Gets how many toggled tablix members the item's row sits under: 0 outside a tablix, in a row no toggle shows or hides, and in the row that carries the toggle itself; 1 in the rows a toggle shows and hides; one more for each toggle nested inside those. An item inside a cell has its cell's level, and a nested tablix's rows add their own.

Section

Gets the part of the page the item belongs to.

Style

Gets the item's borders and background.

ToolTip

Gets the item's evaluated ToolTip, or null.

Top

Gets the top edge, in twips from the page's top edge.

Width

Gets the width.