Click or drag to resize
GridControlSetStyleRange Method (Range, Style, CellModifyType)
Applies cell formattings to the specified range of cells.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool SetStyleRange(
	Range range,
	Style style,
	CellModifyType modifyType
)

Parameters

range
Type: Stingray.GridRange
Range of cells to which the style should be applied.
style
Type: Stingray.GridStyle
The Style object to apply.
modifyType
Type: Stingray.GridCellModifyType
How style is applied to the range. If you want to remove style objects, set this parameter to Remove and set style to nullptr.

Return Value

Type: Boolean
true if the operation is successful, false otherwise.
See Also