Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / AutoFilter Method / AutoFilter(Boolean,Boolean) Method
A boolean value indicating whether the IAutoFilter is column filter. The default value is false.
>A boolean value indicating whether the IAutoFilteris init the default column filter when columnFilter is true


In This Topic
    AutoFilter(Boolean,Boolean) Method
    In This Topic
    Creates the automatic filter for current selection if the filter doesn't exist; otherwise, remove the filter.
    Syntax
    'Declaration
     
    
    Overloads Function AutoFilter( _
       Optional ByVal columnFilter As Boolean, _
       Optional ByVal initColumns As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As IRange
    Dim columnFilter As Boolean
    Dim initColumns As Boolean
    Dim value As Boolean
     
    value = instance.AutoFilter(columnFilter, initColumns)

    Parameters

    columnFilter
    A boolean value indicating whether the IAutoFilter is column filter. The default value is false.
    initColumns
    >A boolean value indicating whether the IAutoFilteris init the default column filter when columnFilter is true
    See Also