DiagramLite Programmer's Guide
TableNode Methods
 


 Public Methods

  Name Description

AddColumn

Adds new empty column at the right end of the table.

AddRow

Adds new empty row at the bottom of the table.

CellFromPoint

Returns the row and column indices of the cell located at the specified point, taking into consideration the cells span.

DeleteColumn

Deletes the column with the specified index within the table.

DeleteRow

Deletes the row at the specified position within the table.

GetIntersection

DiagramNode.GetIntersection override.

InsertColumn

Inserts new empty column at the specified position within the table.

InsertRow

Inserts new empty row at the specified position within the table.

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

OnBoundsChanged

DiagramNode.OnBoundsChanged override.

RedimTable

Sets new number of rows and columns for this table.

 Protected Methods

  Name Description

CreateConnectionPoint

DiagramNode.CreateConnectionPoint override.

CreateState

DiagramItem.CreateState override.

GetOutline

DiagramNode.GetOutline override.

LoadFromXml

Loads the item content from an XML element.

RestoreState

DiagramItem.RestoreState override.

SaveState

DiagramItem.SaveState override.

SaveToXml

Saves the item content into an XML element.

ScaleElements

DiagramNode.ScaleElements override.

SetReflexive

DiagramNode.SetReflexive override.

 Inherited Public Methods

  Name Description

AcceptLinks

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

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

Clone

Creates a copy of this item. (Inherited from DiagramItem.)

ContainsPoint

DiagramItem.ContainsPoint override. (Inherited from DiagramNode.)

Detach

Overloaded.   (Inherited from DiagramNode.)

GetAllIncomingLinks

Gets a collection of all links entering this node. (Inherited from DiagramNode.)

GetAllLinks

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

GetAllOutgoingLinks

Get a collection of all links going out of this node. (Inherited from DiagramNode.)

GetBounds

Gets the bounding rectangle of this item. (Inherited from DiagramNode.)

GetCenter

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

GetIntersection

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

GetNearestBorderPoint

Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetOutlinePoly

DiagramItem.GetOutlinePoly override. (Inherited from DiagramNode.)

GetRepaintRect

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

HitTestHandle

DiagramItem.HitTestHandle override. (Inherited from DiagramNode.)

NotInteractive

Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.)

OnApplyTemplate

FrameworkElement.OnApplyTemplate override. (Inherited from DiagramNode.)

OnBoundsChanged

Called when the location and size of this node change. (Inherited from DiagramNode.)

OnDragOut

Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.)

OnDragOver

Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.)

OnDropOver

Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.)

Query

Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.)

ReassignAnchorPoints

Reassigns links to anchor points so that they are evenly disctributed. (Inherited from DiagramNode.)

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

RestoreLocationState

DiagramItem.RestoreLocationState override. (Inherited from DiagramNode.)

SaveLocationState

DiagramItem.SaveLocationState override. (Inherited from DiagramNode.)

SetBounds

Sets the location and size of this node. (Inherited from DiagramNode.)

TransformDiagramToItem

Transforms a point in diagram coordinates to item coordinates. (Inherited from DiagramItem.)

TransformItemToDiagram

Gets the diagram coordinates of a point specified in the local coordinate system of this item. (Inherited from DiagramItem.)

ZBottom

Moves the item to the bottom of the z-order. (Inherited from DiagramItem.)

ZLevelDown

Moves the item one level down in the z-order. (Inherited from DiagramItem.)

ZLevelUp

Moves the item one level up in the z-order. (Inherited from DiagramItem.)

ZTop

Moves the item to the top of the z-order. (Inherited from DiagramItem.)

 Inherited Protected Methods

  Name Description

AddAnchorPointVisuals

Adds the AnchorPatern points to the node's Adorner. (Inherited from DiagramNode.)

AddExpandButton

Adds the ExpandButton to the node's Adoner. (Inherited from DiagramNode.)

AddHandlesToCanvas

Overloaded.   (Inherited from DiagramNode.)

AllowDrag

Invoked to validate the drag operation. (Inherited from DiagramItem.)

CancelDrag

DiagramItem.CancelDrag override. (Inherited from DiagramNode.)

CreateAnchorPointVisual

Creates a Path that represents the specified AnchorPoint. (Inherited from DiagramNode.)

CreateConnectionPoint

Creates a connection point between this node and the specified link at the specified point. (Inherited from DiagramNode.)

CreateState

DiagramItem.CreateState override. (Inherited from DiagramNode.)

EndDrag

DiagramItem.EndDrag override. (Inherited from DiagramNode.)

GetOutline

Creates a Geometry object that describes the outline of the node. (Inherited from DiagramNode.)

GetRotatedBounds

Overloaded.   (Inherited from DiagramNode.)

LoadFromXml

DiagramItem.LoadFromXml override. (Inherited from DiagramNode.)

OnAdd

Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramNode.)

OnChildModified

Called when a group child node has been modified. (Inherited from DiagramItem.)

OnLoad

Called after successful deserialization. (Inherited from DiagramItem.)

OnLostMouseCapture

Control.OnLostMouseCapture override. (Inherited from DiagramItem.)

OnMeasureUnitChanged

Called when the diagram's MeasureUnit changes. (Inherited from DiagramNode.)

OnMouseEnter

Control.OnMouseEnter override. (Inherited from DiagramItem.)

OnMouseLeave

Control.OnMouseLeave override. (Inherited from DiagramItem.)

OnMouseLeftButtonDown

Control.OnMouseLeftButtonDown override. (Inherited from DiagramItem.)

OnMouseLeftButtonUp

Control.OnMouseLeftButtonUp override. (Inherited from DiagramItem.)

OnRemove

DiagramItem.OnRemove override. (Inherited from DiagramNode.)

RemoveAnchorPointVisuals

Removes the AnchorPatern points from the node's Adorner. (Inherited from DiagramNode.)

RemoveHandlesFromCanvas

DiagramItem.RemoveHandlesFromCanvas override. (Inherited from DiagramNode.)

RestoreState

DiagramItem.RestoreState override. (Inherited from DiagramNode.)

SaveState

DiagramItem.SaveState override. (Inherited from DiagramNode.)

SaveToXml

Saves the item content into an XML element. (Inherited from DiagramNode.)

ScaleElements

Scales the node's elements by specified amount. (Inherited from DiagramNode.)

SetIncomingLinks

Sets the incoming links collection of this node. (Inherited from DiagramNode.)

SetOutgoingLinks

Sets the outgoing links collection of this node. (Inherited from DiagramNode.)

SetReflexive

Invoked to let a node set the shape of a reflexive link connected to it. (Inherited from DiagramNode.)

StartDrag

DiagramItem.StartDrag override. (Inherited from DiagramNode.)

UpdateDrag

DiagramItem.UpdateDrag override. (Inherited from DiagramNode.)

UpdateHandleColors

DiagramItem.UpdateHandleColors override. (Inherited from DiagramNode.)

UpdateHandlePositions

DiagramItem.UpdateHandlePositions override. (Inherited from DiagramNode.)

UpdateStates

Sets the current VisualStates of this item. (Inherited from DiagramItem.)

UpdateVisuals

DiagramItem.UpdateVisuals override. (Inherited from DiagramNode.)

 See Also

TableNode Class
MindFusion.Diagramming Namespace