'Declaration Public Event FormatValue As FormatValueEventHandler
public event FormatValueEventHandler FormatValue
The event handler receives an argument of type FormatValueEventArgs containing data related to this event. The following FormatValueEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CalcValue | Gets the UltraCalcValue that was the formula result and is being used by the _CALCMANAGER_ to assign a new value to one property of this calculable element. |
Control (Inherited from Infragistics.WebUI.UltraWebCalcManager.ControlValueEventArgsBase) | Gets the extended Web element whose property is being read or written. |
DesiredType | Gets the type expected by the named property of the calculable element to which this formatted value is being stored. |
Value (Inherited from Infragistics.WebUI.UltraWebCalcManager.ControlValueEventArgsBase) | Gets/Sets the value which is being sent from the _CALCMANAGER_ to the calculable element, or from the calculable element to the _CALCMANAGER_. |
The FormatValue event is fired any time a CalcSettings is about to set a value on a control that is receiving the calculated result of a formula. The Value can then be modified by the application before it gets assigned to the control, with the intention of doing any necessary formatting, type conversion, etc.
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