Spread WPF Documentation
Format Method (IColorFormatter)


GrapeCity.Windows.SpreadSheet.Data Namespace > IColorFormatter Interface : Format Method
The object with cell data to format.
The foreground of the formatted string.
Formats the specified object as a string with a condition foreground.
Syntax
'Declaration
 
Function Format( _
   ByVal obj As System.Object, _
   ByRef conditionalForeColor As System.Nullable(Of Color) _
) As System.String
'Usage
 
Dim instance As IColorFormatter
Dim obj As System.Object
Dim conditionalForeColor As System.Nullable(Of Color)
Dim value As System.String
 
value = instance.Format(obj, conditionalForeColor)
System.string Format( 
   System.object obj,
   out System.Nullable<Color> conditionalForeColor
)

Parameters

obj
The object with cell data to format.
conditionalForeColor
The foreground of the formatted string.

Return Value

Returns the formatted string.
See Also

Reference

IColorFormatter Interface
IColorFormatter Members