Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / Top10Rule Class / Create Method
The Top10ConditionType top 10 condition type.
>The number of top or bottom items
The style that is set by the rule.


In This Topic
    Create Method (Top10Rule)
    In This Topic
    Creates a top 10 rule with specified parameters.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal op As Top10ConditionType, _
       ByVal rank As Integer, _
       ByVal style As StyleInfo _
    ) As Top10Rule
    'Usage
     
    Dim op As Top10ConditionType
    Dim rank As Integer
    Dim style As StyleInfo
    Dim value As Top10Rule
     
    value = Top10Rule.Create(op, rank, style)
    public static Top10Rule Create( 
       Top10ConditionType op,
       int rank,
       StyleInfo style
    )

    Parameters

    op
    The Top10ConditionType top 10 condition type.
    rank
    >The number of top or bottom items
    style
    The style that is set by the rule.

    Return Value

    The new top 10 rule.
    See Also