Click or drag to resize
GridControlSetNewGridLineMode Method (Boolean, GridLineStyle)
Sets the old or new grid line drawing with a specific type.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public static void SetNewGridLineMode(
	bool enable,
	GridLineStyle style
)

Parameters

enable
Type: SystemBoolean
true enables the new line mode; false enables the new old mode.
style
Type: Stingray.GridGridLineStyle
The style to apply.
Remarks
Use this method if you want to use the old drawing technique, to be compatible with earlier versions.

Equivalent to SetNewGridLineMode(enable, enable, true).

See Also