Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / ColorScaleCfRule Class / SetValue Method
An integer value indicates the index of conditional formatting value.
A CfValue object indicates the conditional formatting value.


In This Topic
    SetValue Method (ColorScaleCfRule)
    In This Topic
    Sets the conditional formatting value at the specified index.
    Syntax
    'Declaration
     
    
    Public Overrides Function SetValue( _
       ByVal index As Integer, _
       ByVal value As CfValue _
    ) As Boolean
    'Usage
     
    
    Dim instance As ColorScaleCfRule
    Dim index As Integer
    Dim value As CfValue
    Dim value As Boolean
     
    value = instance.SetValue(index, value)
    public override bool SetValue( 
       int index,
       CfValue value
    )

    Parameters

    index
    An integer value indicates the index of conditional formatting value.
    value
    A CfValue object indicates the conditional formatting value.

    Return Value

    true if XXXX, false otherwise.true if the new value is assigned successful, false otherwise.
    See Also