| GridControlSetGridRect Method (Boolean) |
Sets the grid rectangle for the window.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public void SetGridRect(
bool set
)
Public Sub SetGridRect (
set As Boolean
)
public:
void SetGridRect(
bool set
)
Parameters
- set
- Type: SystemBoolean
true to set the area or
false to reset the area.
Remarks
Normally, the grid computes its drawing area with
GetClientRect(). If you call this method to set
the drawing area, this area is used in subsequent calls to
GetGridRect.
You have to take care of calling this method when the user
changes the window size.
Calling this method is useful if you want to display a grid
title.
See Also