ASP.NET Pack Programmer's Guide
Grid Members
Constructors Methods
 


Represents a lane grid.

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

 Public Constructors

  Name Description

Grid

Initializes a new instance of the Grid class. For internal use only.

 Public Methods

  Name Description

addColumnHeader

Adds the specified header to the grid as a new column header.

addRowHeader

Adds the specified header to the grid as a new row header.

findColumn

Returns the first column header matching the specified caption.

findRow

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

get

Gets the cell or the cluster of cells corresponding to the specified row and column.

getAllowInplaceEdit

Gets a value indicating whether grid cells' text can be in-place edited.

getAllowResizeHeaders

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

getCellBounds

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.

getColumnCount

Gets the number of columns in the grid.

getColumnDepth

Gets the number of levels of the column headers.

getColumnHeaderBounds

Returns the bounding rectangle of all column headers.

getColumnHeaders

Gets the collection with the topmost column headers.

getColumnHeadersHeights

Gets an array with float values specifying the heights of individual column levels.

getColumnIndex

Returns the 0-based index of the specified column. Only works for bottommost headers. If the specified column is a group header, returns -1.

getHeaderBounds

Returns the bounding rectangle of the specified header.

getHeaderFromPoint

Gets the Header that is located at the specified point.

getHeadersOnTop

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

getHookHeaders

Gets 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).

getLeftMargin

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

getMinHeaderSize

Gets the minimum size of a header.

getRow

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

getRowCount

Gets the number of rows in the grid.

getRowDepth

Gets the number of levels of the row headers.

getRowHeaderBounds

Returns the bounding rectangle of all row headers.

getRowHeaders

Gets the collection with the topmost row headers.

getRowHeadersWidths

Gets an array with float values specifying the widths of individual row levels.

getRowIndex

Returns the 0-based index of the specified row. Only works for bottommost headers. If the specified row is a group header, returns -1;

getStyle

Gets the default style of the grid.

getTopLeftAreaStyle

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

getTopLeftAreaText

Gets the text displayed in the top left area.

getTopMargin

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

getTotalColumnHeight

Gets the total height of all column headers.

getTotalRowWidth

Gets the total width of all row headers.

removeColumnHeader

Removes the specified column header and all of its associated cells from the grid.

removeRowHeader

Removes the specified row header and all of its associated cells from the grid.

setAllowInplaceEdit

Sets a value indicating whether grid cells' text can be in-place edited.

setAllowResizeHeaders

Sets a value indicating whether users can resize the headers of the grid interactively.

setColumnCount

Gets the number of columns in the grid.

setColumnHeadersHeights

Sets an array with float values specifying the heights of individual column levels.

setHeadersOnTop

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

setHookHeaders

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

setLeftMargin

Sets the offset of the lane grid from the left side of the document bounds.

setMinHeaderSize

Sets the minimum size of a header.

setRowCount

Sets the number of rows in the grid.

setRowHeadersWidths

Sets an array with float values specifying the widths of individual row levels.

setTopLeftAreaStyle

Sets the style of the area above all row headers and to the left of all column headers.

setTopLeftAreaText

Sets the text displayed in the top left area.

setTopMargin

Sets the offset of the lane grid from the top side of the document bounds.

 See Also

Grid Class
MindFusion.Diagramming.Lanes Namespace