DiagramLite Programmer's Guide
Grid.GetCellFromPoint Method
See Also
 





Gets the cell located at the specified point.

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

 Syntax

C#  Copy Code

public ICell GetCellFromPoint (
    Point point,
    ref Rect cellBounds
)

Visual Basic  Copy Code

Public Function GetCellFromPoint ( _
    point As Point, _
    ByRef cellBounds As Rect _
) As ICell

 Parameters

point
A Point instance specifying a point within the grid.
cellBounds
A Rect instance that receives the coordinates of the found cell.

 Return Value

An ICell reference to the found cell, or null (Nothing in Visual Basic) if there is no cell located at the specified point.

 See Also

Grid Members
Grid Class
MindFusion.Diagramming.Lanes Namespace