Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / IColorFormatter Interface / Format Method
The object with cell data to format.
The foreground of the formatted string.


In This Topic
    Format Method (IColorFormatter)
    In This Topic
    Formats the specified object as a string with a condition foreground.
    Syntax
    'Declaration
     
    Function Format( _
       ByVal obj As Object, _
       ByRef conditionalForeColor As Nullable(Of Color) _
    ) As String
    'Usage
     
    Dim instance As IColorFormatter
    Dim obj As Object
    Dim conditionalForeColor As Nullable(Of Color)
    Dim value As String
     
    value = instance.Format(obj, 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