Click or drag to resize
GridControlSetValueRange Method (Range, Style, ModifyType, Int32, RedrawFlags)
Sets a range of cells to the specified value.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public virtual bool SetValueRange(
	Range range,
	Style style,
	ModifyType modifyType,
	int type,
	RedrawFlags redraw
)

Parameters

range
Type: Stingray.GridRange
The range of cells.
style
Type: Stingray.GridStyle
The Style for each cell.
modifyType
Type: Stingray.GridModifyType
How style is applied to the range. Note that Remove is invalid.
type
Type: SystemInt32
The type of information to be set:
  • 0 - store the style into the cells-array with cell contents.
  • -1 - store the style into the cells-array with the base styles for rows, columns or the table.
  • 1 - the style value should be parsed and based on the contents a formula, number or text label should be assigned to the cells.
redraw
Type: Stingray.GridRedrawFlags
The redraw technique. It can take the following values:

Return Value

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