Version

SetUseInCalcManager Method

This sets the UseInCalcManager extender property for the specified DataGridView.
Syntax
'Declaration
 
Public Sub SetUseInCalcManager( _
   ByVal grid As DataGridView, _
   ByVal useInCalcManager As Boolean _
) 
public void SetUseInCalcManager( 
   DataGridView grid,
   bool useInCalcManager
)

Parameters

grid
The DataGridView whose UseInCalcManager extender property is being set.
useInCalcManager
A setting of true will add the grid into the calculation network of the CalcManager so that columns can be used as the source or target of formulas. A setting of false indicates that the grid will not participate in the calculation network. It will not appear in the FormulaBuilder and any formulas that reference it's columns will return an error.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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