FlexGrid for WinForms
GetCellRect(Int32,Int32,Boolean) Method



Row index.
Column index.
Whether to scroll the cell into view before calculating the rectangle.
Gets a System.Drawing.Rectangle object with the coordinates of the cell within the control.
Syntax
'Declaration
 
Public Overloads Function GetCellRect( _
   ByVal row As Integer, _
   ByVal col As Integer, _
   ByVal show As Boolean _
) As Rectangle
'Usage
 
Dim instance As C1FlexGridBase
Dim row As Integer
Dim col As Integer
Dim show As Boolean
Dim value As Rectangle
 
value = instance.GetCellRect(row, col, show)
public Rectangle GetCellRect( 
   int row,
   int col,
   bool show
)
public:
Rectangle GetCellRect( 
   int row,
   int col,
   bool show
) 

Parameters

row
Row index.
col
Column index.
show
Whether to scroll the cell into view before calculating the rectangle.

Return Value

A System.Drawing.Rectangle object with the coordinates of the cell, in pixels and relative to the control's client area.
Remarks
This property is useful if you need to implement custom editors or other elements that need to be positioned over cells.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback