'Declaration Public Shared Sub SetControlSettings( _ ByVal d As DependencyObject, _ ByVal value As ControlCalculationSettings _ )
public static void SetControlSettings( DependencyObject d, ControlCalculationSettings value )
You can specify ControlCalculationSettings object which contains various calculation related settings, including the formula, for a control using this attached property. In order to have a control participate in calculations, you need to set the CalculationManagerProperty attached property on the control and optionally set the CalculationControlSettings attached property on the control. Setting CalculationControlSettings is necessary if Name is not set on the control or if you want to specify what property to use for retrieving or setting the value on the control. Formula is also exposed on the CalculationControlSettings so if you want to assign a formula to the control you need to set this attached property as well.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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