Gets the filter column definition from the specified column.
Syntax
Parameters
- columnIndex
- Column index
Return Value
FilterColumnDefinition object containing the filter column definition
Example
This example gets the display name for the column definition.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;
Dim fcd As FarPoint.Win.Spread.FilterColumnDefinition = fpSpread1.ActiveSheet.RowFilter.GetFilterColumnDefinition(0)
MessageBox.Show(fcd.Filters[0].DisplayName);
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
Dim fcd As FarPoint.Win.Spread.FilterColumnDefinition = FpSpread1.ActiveSheet.RowFilter.GetFilterColumnDefinition(0)
MessageBox.Show(fcd.Filters(0).DisplayName) |
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