Search
Grid Members
Properties Methods Events
 


Represents a lane grid.

The following tables list the members exposed by the Grid type.

 Public Properties

  Name Description

AlignCells

Gets or sets a value indicating whether cells are aligned one next to another so that their borders don't overlap.

AllowResizeHeaders

Gets or sets a value indicating whether users can resize the headers of the grid interactively.

ColumnCount

Gets or sets the number of columns in the grid.

ColumnHeaders

Gets the collection with the topmost column headers.

ColumnHeadersHeights

Gets or sets an array with float values specifying the heights of individual column levels. If a value is non-positive or does not exist because the array has less arguments than the number of rows, then the height is calculated as the maximum height of the columns in that level.

HeadersOnTop

Gets or sets a value indicating whether lane headers appear at the top of the z-order above all other items.

HookHeaders

Gets or sets a value indicating whether headers will be anchored to the corresponding side (that is, the column header anchored to the top side and the row header anchored to the left side).

Item

Overloaded. Gets a cell or cluster of cells from the grid.

LeftMargin

Gets or sets the offset of the lane grid from the left side of the document bounds.

MinHeaderSize

Gets or sets the minimum size of a header.

RowCount

Gets or sets the number of rows in the grid.

RowHeaders

Gets the collection with the leftmost row headers.

RowHeadersWidths

Gets or sets an array with float values specifying the widths of individual row levels. If a value is non-positive or does not exist because the array has less arguments than the number of rows, then the width is calculated as the maximum width of the rows in that level.

TopLeftAreaStyle

Gets or sets the style of the area above all row headers and to the left of all column headers.

TopLeftAreaText

Gets or sets the text displayed in the top left area.

TopLeftAreaTextColor

Gets or sets the color of the text displayed in the top left area.

TopLeftAreaTextFont

Gets or sets the font used to display text in the top left area.

TopLeftAreaTextFormat

Gets or sets the format of the text displayed in the top left area.

TopMargin

Gets or sets the offset of the lane grid from the top side of the document bounds.

 Public Methods

  Name Description

FindColumn

Returns the first column header matching the specified caption.

FindRow

Finds the first row whose header caption matches the specified string.

GetCellBounds

Overloaded. Returns the bounding rectangle of a cell or cluster of cells.

GetCellColumn

Returns the column index of the specified cell.

GetCellFromPoint

Gets the cell located at the specified point.

GetCellRow

Returns the row index of the specified cell.

GetColumn

Returns the column header with the specified index from the bottommost column header level.

GetColumnCount

Returns the number of columns in the bottommost column header level.

GetColumnHeaderBounds

Returns the bounding rectangle of all column headers.

GetColumnIndex

Returns the 0-based index of the specified column.

GetHeaderBounds

Returns the bounding rectangle of the specified header.

GetHeaderFromPoint

Overloaded. Gets the Header that is located at the specified point.

GetHeaderLevel

Gets the level of the specified header.

GetHeaderParent

Returns the header containing the specified header, or null, if the header is a top-level header.

GetRow

Returns the row header with the specified index from the bottommost row header level.

GetRowCount

Returns the number of rows in the bottommost row header level.

GetRowHeaderBounds

Returns the bounding rectangle of all row headers.

GetRowIndex

Returns the 0-based index of the specified row.

InsertAfter

Inserts a new header after the specified header and returns a reference to it.

InsertBefore

Inserts a new header before the specified header and returns a reference to it.

RaiseHeaderAdded

Raises the HeaderAdded event from outside the lane grid.

RaiseHeaderResized

Raises the HeaderResized event from outside the lane grid.

RaiseHeaderStartResizing

Raises the HeaderStartResizing event from outside the lane grid.

ResizeColumnHeaderHeights

Resizes the heights of all column headers from the specified level with the specified amount.

ResizeRowHeaderWidths

Resizes the widths of all row headers from the specified level with the specified amount.

 Public Events

  Name Description

CellBoundsChanged

Raised when the bounding rectangle of a cell has been changed.

HeaderAdded

Raised when a header has been inserted into the grid, either interactively or through a call to the InsertBefore or InsertAfter methods.

HeaderResized

Raised when the user finishes resizing a header.

HeaderStartResizing

Raises when the user starts resizing a header.

 See Also