Search
Grid Members
Constructors Properties 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 Properties

  Name Description

allowInplaceEdit

Gets or sets a value indicating whether grid cells' text can be edited interactively.

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.

columnHeaderBounds

Returns the bounding rectangle of all column headers.

columnHeaders

Gets the collection of topmost column headers.

columnHeadersHeights

Gets or sets an array of numbers specifying the heights of individual column levels.

headersOnTop

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

hookHeaders

Gets or sets a value indicating whether headers will be anchored to their corresponding side.

leftMargin

Gets or sets the offset of the lane grid from left side of diagram's bounds.

minHeaderSize

Gets or sets the minimum size of a header.

rowCount

Gets or sets the number of rows in the grid.

rowHeaderBounds

Returns the bounding rectangle of all row headers.

rowHeaders

Gets the collection of topmost row headers.

rowHeadersWidths

Gets or sets an array of numbers specifying the widths of individual row levels.

style

Gets the default style of the grid.

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.

topMargin

Gets or sets the offset of the lane grid from top side of diagram's bounds.

totalColumnHeight

Gets the total height of all column headers.

totalRowWidth

Gets the total width of all row headers.

 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

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

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.

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.

getColumnDepth

Gets the number of levels of the column headers.

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.

getRow

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

getRowDepth

Gets the number of levels of the row headers.

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;

loadFromXml

Deserializes the lane grid from the specified XML element.

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.

saveToXml

Serializes the lane grid to the specified XML element.

 See Also