Syncfusion.Grid.Windows


The parent control with a window handle.
The new location and bounds of the grid.
True if current cell should be outlined in a subsequent DrawGrid call; False if it should not be drawn.

SetWindowlessBounds Method

Switches the grid into a special mode in which you can call its DrawGrid(Graphics) method to draw its contents at a different screen location and with different size than the current visible grid. You must call ResetWindowlessBounds to switch the grid back to normal operational mode.
Syntax
'Declaration
 
Public Sub SetWindowlessBounds( _
   ByVal renderControl As Control, _
   ByVal bounds As Rectangle, _
   ByVal drawCurrentCell As Boolean _
) 
'Usage
 
Dim instance As GridControlBase
Dim renderControl As Control
Dim bounds As Rectangle
Dim drawCurrentCell As Boolean
 
instance.SetWindowlessBounds(renderControl, bounds, drawCurrentCell)
public void SetWindowlessBounds( 
   Control renderControl,
   Rectangle bounds,
   bool drawCurrentCell
)

Parameters

renderControl
The parent control with a window handle.
bounds
The new location and bounds of the grid.
drawCurrentCell
True if current cell should be outlined in a subsequent DrawGrid call; False if it should not be drawn.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also