FlexGrid for WinForms
SetData(CellRange,Object,Boolean) Method



CellRange that specifies the cells that will be assigned a new value.
Value that will be assigned to all cells in the range.
Whether the value should be converted to the column's data type.
Assigns a value to a range of cells.
Syntax
'Declaration
 
Public Overloads Overridable Function SetData( _
   ByVal rg As CellRange, _
   ByVal value As Object, _
   ByVal coerce As Boolean _
) As Boolean
'Usage
 
Dim instance As C1FlexGridBase
Dim rg As CellRange
Dim value As Object
Dim coerce As Boolean
Dim value As Boolean
 
value = instance.SetData(rg, value, coerce)
public virtual bool SetData( 
   CellRange rg,
   object value,
   bool coerce
)
public:
virtual bool SetData( 
   CellRange rg,
   Object^ value,
   bool coerce
) 

Parameters

rg
CellRange that specifies the cells that will be assigned a new value.
value
Value that will be assigned to all cells in the range.
coerce
Whether the value should be converted to the column's data type.

Return Value

True if the value was assigned to all cells in the destination range.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback