Xceed Grid for WinForms v4.3 Documentation
ClientRectangleToGrid Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : ClientRectangleToGrid Method
The client rectangle System.Drawing.Rectangle to convert.
Computes the size and location of the specified client rectangle in grid coordinates
Syntax
'Declaration
 
Public Function ClientRectangleToGrid( _

   ByVal rectangle As Rectangle _

) As Rectangle
'Usage
 
Dim instance As VisualGridElement

Dim rectangle As Rectangle

Dim value As Rectangle

 

value = instance.ClientRectangleToGrid(rectangle)
public Rectangle ClientRectangleToGrid( 

   Rectangle rectangle

)

Parameters

rectangle
The client rectangle System.Drawing.Rectangle to convert.

Return Value

A System.Drawing.Rectangle that represents the converted rectangle in grid coordinates.
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

VisualGridElement Class
VisualGridElement Members