Spread WPF 16
GrapeCity.Windows.SpreadSheet.Data Namespace / ColorCondition Class / FromColor Method
The compare type.
The expected color.

In This Topic
    FromColor Method
    In This Topic
    Creates a color condition from the color.
    Public Shared Function FromColor( _
       ByVal compareType As ColorCompareType, _
       ByVal expected As Color _
    ) As ColorCondition
    Dim compareType As ColorCompareType
    Dim expected As Color
    Dim value As ColorCondition
    value = ColorCondition.FromColor(compareType, expected)
    public static ColorCondition FromColor( 
       ColorCompareType compareType,
       Color expected


    The compare type.
    The expected color.

    Return Value

    The ColorCondition object.
    See Also