ASP.NET Pack Programmer's Guide
TableNode Members
Constructors Fields Methods
 


TableNode instances are diagram nodes that can be used to display tabular or list data.

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

 Public Constructors

  Name Description

TableNode

Initializes a new instance of the TableNode class with default values supplied from the specified Diagram.

 Public Fields

  Name Description

useScrollBars

Set this flag to show full scrollbars for scrollable tables instead of up/down buttons in captions.

 Public Methods

  Name Description

addColumn

Adds a new column to the table.

addRow

Adds a new row to the table.

cellFromPoint

Returns the cell that contains the specified point.

containsPoint

Checks if the TableNode contains the specified point.

createConnectionPoint

Creates a connection point between this node and the specified link at the specified point.

deleteColumn

Deletes the specified column.

deleteRow

Deletes the specified row.

getAllowResizeColumns

Gets a value indicating whether users are allowed to resize table columns.

getAllowResizeRows

Gets a value indicating whether users are allowed to resize table rows.

getCaptionBackBrush

Gets the object that specifies how to fill the caption bar.

getCaptionFont

Gets the font used to render the table's caption text.

getCaptionHeight

Gets the height of the table's caption area.

getCell

Returns a reference to the cell located at the specified column and row of this table.

getCellFrameStyle

Gets the style of the cell frame lines.

getColumn

Returns a reference to the column at the specified position within the table's list of columns.

getColumnCount

Gets the number of columns in the table.

getConnectionStyle

Gets a value indicating whether drawing a link from/to this table should connecta row of the table, or the whole table as an integral entity.

getCurrentScrollRow

Gets the table's current scroll position.

getEnableStyledText

Gets a value indicating whether styled text rendering is enabled.

getOutline

Gets an array of points that define the outline of this node shape.

getRow

Returns a reference to the row at the specified position within the table's list of rows.

getRowCount

Gets the number of rows in the table.

getRowRect

Returns the bounding rectangle of the specified row.

getScrollable

Gets a value indicating whether the user is allowed to scroll the table rows.

getShape

Gets the shape of the table's outline.

init

Returns a Builder object used to configure this TableNode instance.

insertColumn

Inserts a new column at the specified position.

insertRow

Inserts a new row at the specified position.

loadFromXml

DiagramNode.loadFromXml override. Loads the node's content from an XML element.

redimTable

Changes the number of columns and rows in this table.

resizeToFitText

Resizes the columns and rows so that cells are large enough to fit their text.

rowFromPoint

Returns the index of the table's row that contains the specified point.

saveToXml

Saves the node's content into an XML element.

scrollDown

Scrolls the table's rows down.

scrollUp

Scrolls the table's rows up.

setAllowResizeColumns

Sets a value indicating whether users are allowed to resize table columns.

setAllowResizeRows

Sets a value indicating whether users are allowed to resize table rows.

setCaptionBackBrush

Sets an object that specifies how to fill the caption bar.

setCaptionFont

Sets the font used to render the table's caption text.

setCaptionHeight

Sets the height of the table's caption area.

setCellFrameStyle

Sets the style of the cell frame lines.

setColumnCount

Sets the number of columns in the table.

setConnectionStyle

Sets a value indicating whether drawing a link from/to this table should connecta row of the table, or the whole table as an integral entity.

setCurrentScrollRow

Sets the table's current scroll position.

setEnableStyledText

Sets a value indicating whether styled text rendering is enabled.

setRowCount

Sets the number of rows in the table.

setScrollable

Sets a value indicating whether the user is allowed to scroll the table rows.

setShape

Sets the shape of the table's outline.

With

Returns a Builder object used to configure and create new TableNode instances.

 See Also

TableNode Class
MindFusion.Diagramming Namespace