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.

AllowAddHeaders

Gets or sets a value indicating whether users can add new headers to the grid interactively.

AllowInplaceEdit

Gets or sets a value indicating whether header titles can be in-place edited.

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 double 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.

ResizeType

Gets or sets how to distribute lane sizes when the user resizes rows or columns.

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 double 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.

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 the specified cell.

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.

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

Gets the Header that is located at the specified point.

GetRow

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

GetRowHeaderBounds

Returns the bounding rectangle of all row headers.

GetRowIndex

Returns the 0-based index of the specified row.

Insert

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

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.

 Public Events

  Name Description

CellBoundsChanged

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

HeaderAdded

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

 See Also