Spread Windows Forms 6.0 Product Documentation
SetColumnAllowFilter(Int32,Int32,Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SetColumnAllowFilter Method : SetColumnAllowFilter(Int32,Int32,Boolean) Method


column
Index of the first column that is set
count
Number of columns to set
allowFilter
Whether to allow filtering for the specified columns

Glossary Item Box

Sets whether the specified columns on this sheet allow filtering.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetColumnAllowFilter( _
   ByVal column As Integer, _
   ByVal count As Integer, _
   ByVal allowFilter As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim column As Integer
Dim count As Integer
Dim allowFilter As Boolean
 
instance.SetColumnAllowFilter(column, count, allowFilter)
C# 
public void SetColumnAllowFilter( 
   int column,
   int count,
   bool allowFilter
)

Parameters

column
Index of the first column that is set
count
Number of columns to set
allowFilter
Whether to allow filtering for the specified columns

Exceptions

ExceptionDescription
System.ArgumentOutOfRangeException Specified column index is out of range; must be between -1 and the total number of columns

Remarks

The default is for columns not to allow filtering.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.