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

  Name Description

allowIncomingLinks

Gets or sets whether users are allowed to draw incoming links to this node. (Inherited from DiagramNode.)

allowOutgoingLinks

Gets or sets whether users are allowed to draw outgoing links from this node. (Inherited from DiagramNode.)

allowResizeColumns

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

allowResizeRows

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

anchorPattern

Gets or sets the anchor points to which links attach when connected to this node. (Inherited from DiagramNode.)

attachedNodes

Returns the nodes attached to this node. (Inherited from DiagramNode.)

bounds

Gets or sets a rectangle that defines the position of this node. (Inherited from DiagramNode.)

brush

Gets or sets an object specifying how to fill the interior of this item. (Inherited from DiagramItem.)

captionBackBrush

Gets or sets an object specifying how to fill the caption bar.

captionFont

Gets or sets the font used to render the node's caption text.

captionHeight

Gets or sets the height of the node's caption area.

cellFrameStyle

Gets or sets the style of cells' frame lines.

cellStyle

Gets or sets the style used to draw table's cells.

cellTextColor

Gets or sets the color used to fill cells text.

center

Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.)

columnCount

Gets or sets the number of columns in the table.

connectionStyle

Gets or sets whether drawing a link from/to this node should connectan individual table row, or the whole table as an integral entity.

container

Gets the parent ContainerNode containing this node. (Inherited from DiagramItem.)

cornerRadius

Gets or sets the corner radius of nodes whose shape is set to a rounded rectangle. (Inherited from DiagramNode.)

currentScrollRow

Gets or sets the table's current scroll position.

dividerStroke

Gets or sets the color used to stroke the divider line between node's caption bar and content area. (Inherited from CaptionedNode.)

dividerStrokeDashArray

Gets or sets an array of values specifying the dash pattern of the node's divider line. (Inherited from CaptionedNode.)

dividerStrokeDashOffset

Gets or sets the the distance between the line start and the beginning of the dash pattern. (Inherited from CaptionedNode.)

dividerStrokeDashStyle

Gets or sets the line dash pattern applied when stroking node's divider line. (Inherited from CaptionedNode.)

dividerStrokeThickness

Gets or sets the width of the divider line between node's caption bar and content area. (Inherited from CaptionedNode.)

effectiveBrush

Gets the effective brush that should be used to paint this item. (Inherited from DiagramItem.)

effectiveCaptionBackBrush

Gets the effective brush that should be used to paint node's caption bar. (Inherited from DiagramItem.)

effectiveDividerStrokeThickness

Gets the effective line thickness that should be applied when stroking this node's divider line. (Inherited from CaptionedNode.)

effectiveEffects

Gets the effects applied to this node. (Inherited from DiagramNode.)

effectiveFont

Gets the effective font that should be used to render this item's text. (Inherited from DiagramItem.)

effectiveFontName

Gets the name of the effective font that should be used to render this item's text. (Inherited from DiagramItem.)

effectiveFontSize

Gets the size of the effective font that should be used to render this item's text. (Inherited from DiagramItem.)

effectiveFontStyle

Gets the style of the effective font that should be used to render this item's text. (Inherited from DiagramItem.)

effectiveOpacity

Gets the effective opacity that should be used to paint this item. (Inherited from DiagramItem.)

effectiveShadowColor

Gets the effective color that should be used to render this item's shadow. (Inherited from DiagramItem.)

effectiveStroke

Gets the effective color that should be used to stroke this item. (Inherited from DiagramItem.)

effectiveStrokeDashArray

Gets the effective line dash array that should be applied when stroking this item. (Inherited from DiagramItem.)

effectiveStrokeDashOffset

Gets the effective line dash offset that should be applied when stroking this item. (Inherited from DiagramItem.)

effectiveStrokeDashStyle

Gets the effective line dash pattern that should be applied when stroking this item. (Inherited from DiagramItem.)

effectiveStrokeThickness

Gets the effective line thickness that should be applied when stroking this item. (Inherited from DiagramItem.)

effectiveTextColor

Gets the effective text color that should be used to render this item's text. (Inherited from DiagramItem.)

effectiveTextStroke

Gets the effective text color that should be used to render this item's text outline. (Inherited from DiagramItem.)

effectiveTextStrokeThickness

Gets the effective width of the text outline of this item. (Inherited from DiagramItem.)

effects

Gets the effects applied to this node. (Inherited from DiagramNode.)

enabledHandles

Gets or sets a value indicating which adjustment handles are enabled for this node. (Inherited from DiagramNode.)

enableStyledText

Gets or sets a value indicating whether styled text rendering is enabled.

expandable

Gets or sets whether users are allowed to expand or collapse the subtree rooted at this node. (Inherited from DiagramNode.)

expanded

Gets or sets whether the subtree rooted at this node is expanded. (Inherited from DiagramNode.)

font

Gets or sets the font used to render item's text. (Inherited from DiagramItem.)

graphicsContent

Gets an array of visual elements used to render this item on the canvas. (Inherited from DiagramItem.)

handlesStyle

Gets or sets a value specifying appearance and behavior of node's adjustment handles. (Inherited from DiagramNode.)

hyperLink

Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.)

id

Gets or sets a custom identifier associated with this item. (Inherited from DiagramItem.)

ignoreLayout

Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.)

incomingLinks

Gets the incoming links to this node. (Inherited from DiagramNode.)

layoutTraits

Gets an object containing properties specific to individual layout algorithms. (Inherited from DiagramItem.)

lineAlignment

Gets or sets the vertical alignment of item's text. (Inherited from DiagramItem.)

locked

Gets or sets whether users are allowed to interact with this item. (Inherited from DiagramItem.)

masterNode

Returns the node to which this node is attached. (Inherited from DiagramNode.)

obstacle

Gets or sets whether this node is considered an obstacle by link routing algorithms. (Inherited from DiagramNode.)

opacity

Gets or sets opacity of this item. (Inherited from DiagramItem.)

outgoingLinks

Gets the outgoing links from this node. (Inherited from DiagramNode.)

parent

Gets the Diagram to which this item belongs. (Inherited from DiagramItem.)

pen

Gets or sets the color used to stroke item's borders. (Inherited from DiagramItem.)

rotationAngle

Gets or sets the angle at which this node is rotated. (Inherited from DiagramNode.)

rowAnchorPattern

Gets or sets the default anchor pattern for the rows of a table.

rowCount

Gets or sets the number of rows in the table.

scrollable

Gets or sets whether the user is allowed to scroll the table rows.

selected

Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.)

shadowColor

Gets or sets the color used to draw item's shadow. (Inherited from DiagramItem.)

shadowOffsetX

Gets or sets the horizontal offset of item's shadow. (Inherited from DiagramItem.)

shadowOffsetY

Gets or sets the vertical offset of item's shadow. (Inherited from DiagramItem.)

shape

Gets or sets the shape of the node's outline.

showDeleteButton

Gets or sets whether this node displays a delete button. (Inherited from DiagramNode.)

stroke

Gets or sets the color used to stroke item's frame. (Inherited from DiagramItem.)

strokeDashArray

Gets or sets an array of values specifying the dash pattern. (Inherited from DiagramItem.)

strokeDashOffset

Gets or sets the the distance between the line start and the beginning of the dash pattern. (Inherited from DiagramItem.)

strokeDashStyle

Gets or sets the line dash pattern applied when stroking item's frame. (Inherited from DiagramItem.)

strokeThickness

Gets or sets the line width applied when stroking item's frame. (Inherited from DiagramItem.)

style

Gets or sets the style associated with this item. (Inherited from DiagramItem.)

tag

Gets or sets custom data tag associated with this item. (Inherited from DiagramItem.)

text

Gets or sets the text label displayed by this item. (Inherited from DiagramItem.)

textAlignment

Gets or sets the horizontal alignment of item's text. (Inherited from DiagramItem.)

textColor

Gets or sets the color used to fill item's text. (Inherited from DiagramItem.)

textComponent

Gets the Text object instance used to render item's text. (Inherited from DiagramItem.)

textPadding

Gets or sets the padding distance between item's boundaries and text label. (Inherited from DiagramItem.)

textStroke

Gets or sets the color used to stroke item's text. (Inherited from DiagramItem.)

textStrokeThickness

Gets or sets the outline width of item's text. (Inherited from DiagramItem.)

tooltip

Gets or sets tooltip text that should be displayed when the mouse hovers over this item. (Inherited from DiagramItem.)

topLevel

Gets if this is a top-level item in the diagram. (Inherited from DiagramItem.)

visible

Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.)

weight

Gets or sets a weight value used by layout and path-finding algorithms. (Inherited from DiagramItem.)

zIndex

Gets the z-order position of this item. (Inherited from DiagramItem.)

 Public Methods

  Name Description

acceptLinks

Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.)

addCanvasElements

Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.)

addColumn

Adds a new column to the table.

addLabel

Adds a new label to this item. (Inherited from DiagramItem.)

addRow

Adds a new row to the table.

allowDrag

DiagramItem.allowDrag override. (Inherited from DiagramNode.)

animate

Animates the item. (Inherited from DiagramItem.)

attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.)

attachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.)

cellFromPoint

Returns the cell that contains the specified point.

clone

DiagramNode.clone override.

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.

detach

Detaches this node from its current master node. (Inherited from DiagramNode.)

endDrag

DiagramItem.endDrag override. (Inherited from DiagramNode.)

fromJson

Deserializes this item from a JSON object. (Inherited from DiagramItem.)

fromJson

DiagramNode.fromJson override.

getAllLinks

Returns all links connected to this node. (Inherited from DiagramNode.)

getCell

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

getColumn

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

getIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.)

getOutline

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

getParentRow

Returns the number of the first header row before thespecified row. If the specified row is a header rowitself, returns 'row'. If there is no header rowbefore this one, the return value is -1.

getRepaintBounds

Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.)

getRotatedBounds

Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramNode.)

getRow

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

getRowRect

Returns the bounding rectangle of the specified row.

hitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

insertColumn

Inserts a new column at the specified position.

insertRow

Inserts a new row at the specified position.

invalidate

Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.)

isRowCollapsed

Checks whether the specified row is collapsed.Collapsed are all rows whose header row is collapsed.

loadFromXml

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

onRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

raiseClicked

Raises an event which notifies that a node has been clicked. (Inherited from DiagramNode.)

raiseDoubleClicked

Raises an event which notifies that a node has been double-clicked. (Inherited from DiagramNode.)

redimTable

Changes the number of columns and rows in this table.

removeCanvasElements

DiagramItem.removeCanvasElements override. (Inherited from DiagramNode.)

removeLabel

Removes the specified label from this item. (Inherited from DiagramItem.)

resizeToFitText

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

restoreLocationState

DiagramItem.restoreLocationState override. (Inherited from DiagramNode.)

restoreState

DiagramNode.restoreState override.

restoreState

Loads the properties of this diagram item. (Inherited from DiagramItem.)

rowFromPoint

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

saveLocationState

DiagramItem.saveLocationState override. (Inherited from DiagramNode.)

saveState

DiagramNode.saveState override.

saveToXml

Saves the node's content into an XML element.

scrollDown

Scrolls the table's rows down.

scrollUp

Scrolls the table's rows up.

setBounds

Sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.)

startDrag

Invoked when the user starts dragging this item. (Inherited from DiagramItem.)

toJson

DiagramNode.toJson override.

updateCanvasElements

Derived classes must implement this method to update the item's visual elements. (Inherited from DiagramItem.)

updateDrag

DiagramItem.updateDrag override. (Inherited from DiagramNode.)

 See Also