DiagramLite Programmer's Guide
TableNode.CellFromPoint Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool CellFromPoint (
    Point point,
    bool isDiagramCoordinate,
    ref int row,
    ref int col
)

Visual Basic  Copy Code

Public Function CellFromPoint( _
    point As Point, _
    isDiagramCoordinate As Boolean, _
    ByRef row As Integer, _
    ByRef col As Integer _
) As Boolean

 Parameters

point

The point to check.

isDiagramCoordinate
true if the point is specified in logical diagram coordinates; false if the point is specified in local coordinates with respect to the table.
row

Receives the row index if a cell is found at the specified position.

col

Receives the column index if a cell is found at the specified position.

 Return Value

true if a cell of this table contains the specified point; otherwise, false.

 See Also

TableNode Members
TableNode Class
MindFusion.Diagramming Namespace