Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / GeneralFormatter Class / Format Method / Format(Object,Nullable<Color>) Method
The object value to format.
The conditional foreground color.

In This Topic
    Format(Object,Nullable<Color>) Method
    In This Topic
    Formats the specified object as a string with a conditional color.
    Public Overloads Overridable Function Format( _
       ByVal obj As Object, _
       ByRef conditionalForeColor As Nullable(Of Color) _
    ) As String
    Dim instance As GeneralFormatter
    Dim obj As Object
    Dim conditionalForeColor As Nullable(Of Color)
    Dim value As String
    value = instance.Format(obj, conditionalForeColor)
    public virtual string Format( 
       object obj,
       out Nullable<Color> conditionalForeColor


    The object value to format.
    The conditional foreground color.

    Return Value

    Returns the formatted string.
    See Also