Xamarin Pack Programmer's Guide
TableNode Members
Constructors Fields Properties Methods
 


Tables are diagram nodes that can contain multiple cells and can be related to other nodes through their rows.

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

 Public Constructors

  Name Description

TableNode

Overloaded. Initializes a new instance of the TableNode class.

 Public Fields

  Name Description

BrushProperty

Identifies the Brush property. (Inherited from DiagramItem.)

HyperLinkProperty

Identifies the HyperLink property. (Inherited from DiagramItem.)

IdProperty

Identifies the Id property. (Inherited from DiagramItem.)

IgnoreLayoutProperty

Identifies the IgnoreLayout property. (Inherited from DiagramItem.)

LayerIndexProperty

Identifies the LayerIndex property. (Inherited from DiagramItem.)

LockedProperty

Identifies the Locked property. (Inherited from DiagramItem.)

PenProperty

Identifies the Pen property. (Inherited from DiagramItem.)

ShadowBrushProperty

Identifies the ShadowBrush property. (Inherited from DiagramItem.)

ShadowOffsetXProperty

Identifies the ShadowOffsetX property. (Inherited from DiagramItem.)

ShadowOffsetYProperty

Identifies the ShadowOffsetY property. (Inherited from DiagramItem.)

TagProperty

Identifies the Tag property. (Inherited from DiagramItem.)

TextBrushProperty

Identifies the TextBrush property. (Inherited from DiagramItem.)

TextPaddingProperty

Identifies the TextPadding property. (Inherited from DiagramItem.)

VisibleProperty

Identifies the Visible property. (Inherited from DiagramItem.)

WeightProperty

Idenitifies the Weight property. (Inherited from DiagramItem.)

ZIndexProperty

Identifies the ZIndex property. (Inherited from DiagramItem.)

 Public Properties

  Name Description

AllowIncomingLinks

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

AllowOutgoingLinks

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

AnchorPattern

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

AttachedNodes

Gets a reference to the list of items that are attached to this one. (Inherited from DiagramItem.)

Bounds

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

Brush

Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.)

Caption

Gets or sets the text displayed as caption of the table.

CaptionBackBrush

Gets or sets the brush used to paint the caption area of this table.

CaptionBrush

Gets or sets the brush used to paint the table caption.

CaptionFormat

Gets or sets the alignment and line position of the text used as table caption.

CaptionHeight

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

CellCustomDraw

Gets or sets the type of custom drawing performed on the table cells.

CellFrameStyle

Gets or sets the style of the table cells.

CellTextBrush

Gets or sets the brush used to paint texts inside table cells.

ColumnCount

Gets or sets the number of columns in the table.

Columns

Gets a list of all columns in the table.

ColumnWidth

Gets or sets the default width of the table columns.

ConnectionStyle

Gets or sets a value indicating whether drawing a link from/to this table, should connect a row of the table, or the whole table as single entity.

Constraints

Allows applying constraints to the location and size of the node. (Inherited from DiagramNode.)

Container

Gets the container node this item belongs to, if any. (Inherited from DiagramNode.)

CurrentScrollRow

Gets or sets the index of the first visible row in the table.

CustomDraw

Gets or sets the type of custom drawing performed on this table.

EffectiveBrush

Gets the effective brush of the item. (Inherited from DiagramItem.)

EffectiveCaptionBackBrush

Gets the effective caption back brush of the table.

EffectiveCaptionBrush

Gets the effective caption brush of the table.

EffectiveCellTextBrush

Gets the effective text brush of the table cells.

EffectiveFont

Gets the currently effective font of the item. (Inherited from DiagramItem.)

EffectivePen

Gets the effective pen of the item. (Inherited from DiagramItem.)

EffectiveShadowBrush

Gets the effective shadow brush of the item. (Inherited from DiagramItem.)

EffectiveTextBrush

Gets the effective text brush of the item. (Inherited from DiagramItem.)

Effects

Gets a collection with all effects applied to this node. (Inherited from DiagramNode.)

EnabledHandles

Gets or sets the kinds of modifications that end-users are permitted to perform on the node. (Inherited from DiagramNode.)

Expandable

Gets or sets a value indicating whether users are allowed to expand or collapse the subtree that starts from this node. (Inherited from DiagramNode.)

Expanded

Gets or sets a value indicating whether the subtree starting from this node is expanded. (Inherited from DiagramNode.)

Font

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

HandlesStyle

Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramNode.)

HighlightedRow

Gets or sets the highlighted row.

HyperLink

Gets or sets the hyper link. (Inherited from DiagramItem.)

Id

Gets or sets user-defined 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.)

Image

Gets or sets the image that is displayed in this table.

ImageAlign

Gets or sets the alignment of the image displayed in this table.

ImagePadding

Gets or sets the padding distance between node's borders and image.

IncomingLinks

Gets a collection of links that point to the node. (Inherited from DiagramNode.)

IsAttached

Gets a value indicating whether this item is attached to another item. (Inherited from DiagramNode.)

Item

Gets the Cell instance at the specified position.

LayerIndex

Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. (Inherited from DiagramItem.)

LayoutTraits

Contains properties specific to each layout algorithm. (Inherited from DiagramItem.)

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.)

Master

Gets the item this item is attached to, if any. (Inherited from DiagramNode.)

Obstacle

Gets or sets a value indicating whether this node is considered an obstacle by the link-routing algorithm. (Inherited from DiagramNode.)

OffsetHeaderRows

Gets or sets a value indicating whether the table cells are offset to the right to accommodate for the expand buttons of Header rows.

OutgoingLinks

Gets a collection of links that start from this node. (Inherited from DiagramNode.)

Parent

Gets the diagram that contains this item. (Inherited from DiagramItem.)

Pen

Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.)

RotationAngle

Gets or sets the rotation angle of this node. (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.

RowHeight

Gets or sets the default height of table rows.

Rows

Gets a list of all rows in the table.

RuntimeIndex

For internal use. (Inherited from DiagramItem.)

Scrollable

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

Selected

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

ShadowBrush

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

ShadowOffsetX

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

ShadowOffsetY

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

Shape

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

Style

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

Tag

Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.)

TextBrush

Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.)

TextPadding

Gets or sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.)

TopLevel

DiagramItem.TopLevel override. (Inherited from DiagramNode.)

Visible

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

Weight

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

ZIndex

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

 Protected Properties

  Name Description

HasItems

DiagramNode.HasItems override.

MeasureUnit

Returns the diagram measure unit. (Inherited from DiagramItem.)

 Public Methods

  Name Description

AcceptLinks

DiagramNode.AcceptLinks override.

AddColumn

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

AddRelation

Creates a relation with the specified table.

AddRow

Adds new empty row at the bottom of the table.

AttachManipulator

Adds the specified manipulator to this node. (Inherited from DiagramNode.)

AttachToLink

Overloaded. Attaches this node to a link. (Inherited from DiagramNode.)

AttachToNode

Attaches this node to the specified node using the specified attaching type. (Inherited from DiagramNode.)

BreakRelation

Breaks the relation with the specified table.

CellFromPoint

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

Clone

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

Collapse

Hides all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

ContainsPoint

Overloaded. DiagramItem.ContainsPoint override. (Inherited from DiagramNode.)

CreateConnectionPoint

DiagramNode.CreateConnectionPoint override.

DeleteColumn

Deletes the column with the specified index within the table.

DeleteRow

Deletes the row at the specified position within the table.

Detach

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

DetachManipulator

Removes the specified manipulator from this node. (Inherited from DiagramNode.)

Draw

DiagramItem.Draw override. Draws the item on the specified IGraphics surface. (Inherited from DiagramNode.)

DrawAnchors

DiagramNode.DrawAnchors override.

DrawHandles

DiagramItem.DrawHandles override. (Inherited from DiagramNode.)

DrawLocal

Draws the node on the specified IGraphics surface.

DrawShadow

DiagramItem.DrawShadow override. Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramNode.)

DrawShadowLocal

Draws the shadow of this node on the specified IGraphics surface.

Expand

Shows all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

GetAllLinks

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

GetBounds

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

GetCenter

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

GetClosestAnchorPoint

Returns the index of the anchor point that lies at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetIntersection

DiagramNode.GetIntersection override.

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

DiagramItem.GetRepaintRect override. (Inherited from DiagramNode.)

GetRotatedBounds

Overloaded. Gets the bounding rectangle of this node or the bounding rectangle of another rectangle rotated at a specified angle around a specified point. (Inherited from DiagramNode.)

GetSpannedCellRect

Overloaded. Calculates the bounding rectangle of the specified cell, taking in consideration the cell's row and column spans.

HitTest

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

HitTestHandle

DiagramItem.HitTestHandle override. (Inherited from DiagramNode.)

InsertColumn

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

InsertRow

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

Intersects

Determines whether this node's outline intersects with the outline of the specified node. (Inherited from DiagramNode.)

Move

Moves the node to the specified location. (Inherited from DiagramNode.)

NotInteractive

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

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

OnLoad

DiagramItem.OnLoad override.

ReassignAnchorPoints

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

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

RedimTable

Sets new number of rows and columns for this table.

Resize

Resizes the node. (Inherited from DiagramNode.)

ResizeToFitImage

Makes a table as big as the image it displays.

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

ScrollDown

Scrolls the table downwards.

ScrollUp

Scrolls the table upwards.

SetExpandedFlag

Sets the 'expanded' flag, repainting the node. (Inherited from DiagramNode.)

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

 Protected Methods

  Name Description

AddManipulator

Adds the specified manipulator to this object. (Inherited from DiagramItem.)

CreateProperties

DiagramItem.CreateProperties override.

CreateState

DiagramItem.CreateState override. (Inherited from DiagramNode.)

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.)

FreeResources

Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.)

GetAllIncomingLinks

DiagramNode.GetAllIncomingLinks override.

GetAllOutgoingLinks

DiagramNode.GetAllOutgoingLinks override.

GetLocalBounds

Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.)

GetRgnInRect

Creates and returns a Region object for this node as though it is contained in the specified rectangle. (Inherited from DiagramNode.)

GetValue

Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.)

HandleTap

Invoked when the user releases his finger over this item. (Inherited from DiagramItem.)

LoadFromJson

Loads the item content from a JsonObject.

LoadFromXml

Loads the item content from an XML element.

OnAdd

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

OnChildModified

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

OnFontChanged

Invoked when the Font property has changed. (Inherited from DiagramItem.)

OnMeasureUnitChanged

Called when the Diagram's MeasureUnit changes.

OnModify

Invoked when the user moves or resizes this node. (Inherited from DiagramNode.)

OnRotationAngleChanged

Invoked when the rotation angle of this node has been changed, either programmatically or interactively. (Inherited from DiagramNode.)

OnStyleChanged

Invoked when the associated style or theme have changed. (Inherited from DiagramItem.)

OnUpdateBounds

DiagramNode.OnUpdateBounds override.

OnZoomChanged

Called when the MindFusion.Diagramming for Xamarin's ZoomFactor changes. (Inherited from DiagramItem.)

RaiseClicked

Raises an event which notifies that a table node has been clicked.

RemoveManipulator

Removes the specified manipulator from the object. (Inherited from DiagramItem.)

Repaint

Overloaded. Repaints the specified region of the diagram. (Inherited from DiagramItem.)

RestoreProperties

DiagramNode.RestoreProperties override.

RestoreState

DiagramItem.RestoreState override. (Inherited from DiagramNode.)

SaveProperties

DiagramNode.SaveProperties override.

SaveState

DiagramItem.SaveState override. (Inherited from DiagramNode.)

SaveToJson

Saves the item content into a JsonObject.

SaveToXml

Saves the item content into an XML element.

ScaleElements

DiagramNode.ScaleElements override.

SetDiagramDirty

Marks the diagram as changed. (Inherited from DiagramItem.)

SetExpandable

Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. (Inherited from DiagramNode.)

SetExpanded

DiagramItem.SetExpanded override. (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.

ShouldRender

Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.)

ShouldRenderAnchors

Determines whether the node should render its anchor points. (Inherited from DiagramNode.)

UpdateLinkIntersections

Updates the intersection points of links, connected to this node and its outline, usually in response to change in the node's shape. (Inherited from DiagramNode.)

UpdateLinkPositions

Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. (Inherited from DiagramNode.)

 See Also

TableNode Class
MindFusion.Diagramming Namespace