Xceed DataGrid for Silverlight Documentation
ResultConverter Property


Gets or sets the converter that will be used to convert the result of the statistical function.
Syntax
'Declaration
 
Public Property ResultConverter As IValueConverter
'Usage
 
Dim instance As StatCell
Dim value As IValueConverter
 
instance.ResultConverter = value
 
value = instance.ResultConverter
public IValueConverter ResultConverter {get; set;}

Property Value

A reference to an IValueConverter that will be used to convert the result of the statistical function. By default, a StatResultConverter that can be used to format the result of a statistical function, as well as display a user-friendly message when an exception occurs within the function during the calculation of its result.
Remarks

Various error messages can be displayed when an exception occurs during the calculation of a statistical functions result, some of which can be modified. The following table provides a list of the default messages that can be returned by a StatResultConverter, and links to the properties that allow the messages for the specific exception to be modified:

Exception Default message
DivideByZeroMessage #DIV/0#
Exception #[Exception.Message]#
InvalidSourcePropertyNameException #[InvalidSourcePropertyNameException.SourcePropertyName]#
InvalidValueMessage #VALUE#
OverflowMessage #OVER#
NotSupportedStatFunctionMessage #NOTSUPPORTED#

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

StatCell Class
StatCell Members

Send Feedback