Spread Windows Forms 12.0 Product Documentation
AddColumn(FilterColumnDefinition) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class > AddColumn Method : AddColumn(FilterColumnDefinition) Method
FilterColumnDefinition object that contains the filter column definition
Adds a filter column definition to the row filter.
Syntax
'Declaration
 
Public Overloads Sub AddColumn( _
   ByVal fcd As FilterColumnDefinition _
) 
'Usage
 
Dim instance As DefaultRowFilter
Dim fcd As FilterColumnDefinition
 
instance.AddColumn(fcd)
public void AddColumn( 
   FilterColumnDefinition fcd
)

Parameters

fcd
FilterColumnDefinition object that contains the filter column definition
Example
This example adds a filtered column to the row filter.
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.AddColumn(new FarPoint.Win.Spread.FilterColumnDefinition(1));
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.AddColumn(New FarPoint.Win.Spread.FilterColumnDefinition(1))
See Also

Reference

DefaultRowFilter Class
DefaultRowFilter Members
Overload List