Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / ConditionalFormat Class / ContainsRule Method
The rule for which to check.
The row index.
The column index.


In This Topic
    ContainsRule Method
    In This Topic
    Determines whether the specified cell contains a specified rule.
    Syntax
    'Declaration
     
    Public Function ContainsRule( _
       ByVal rule As FormattingRuleBase, _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As ConditionalFormat
    Dim rule As FormattingRuleBase
    Dim row As Integer
    Dim column As Integer
    Dim value As Boolean
     
    value = instance.ContainsRule(rule, row, column)
    public bool ContainsRule( 
       FormattingRuleBase rule,
       int row,
       int column
    )

    Parameters

    rule
    The rule for which to check.
    row
    The row index.
    column
    The column index.

    Return Value

    true if the specified cell contains the rule; otherwise, false.
    See Also