Version

CalcSettings Constructor(String,Object,String,String,Type)

Creates an instance of CalcSettings with properties initialized to the supplied values.
Syntax
'Declaration
 
Public Function New( _
   ByVal alias As String, _
   ByVal errorValue As Object, _
   ByVal formula As String, _
   ByVal propertyName As String, _
   ByVal treatAsType As Type _
)
public CalcSettings( 
   string alias,
   object errorValue,
   string formula,
   string propertyName,
   Type treatAsType
)

Parameters

alias
An alias name by which the target control is known.
errorValue
An error value assigned to propertyName in event of an error.
formula
The formula string used to calculate the value of propertyName.
propertyName
The name of the property receiving the calculated value, also the source property of the value this aliased control is known by when it is referenced by external formulas.
treatAsType
The CLR Type which UltraCalc should treat propertyName as being when reading the value. For instance, propertyName may refer to a String property like the Text of a TextBox, but through this argument the engine can attempt to coerce the value into the desired Type so that it's interpretation is what was intended.)
Requirements

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