| GridControlSetNewGridLineMode Method (Boolean, GridLineStyle) |
Sets the old or new grid line drawing with a specific type.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public static void SetNewGridLineMode(
bool enable,
GridLineStyle style
)
Public Shared Sub SetNewGridLineMode (
enable As Boolean,
style As GridLineStyle
)
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