Spread Windows Forms 12.0 Product Documentation
ShowFilterIndicator Property (DefaultRowFilter)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class : ShowFilterIndicator Property
Gets or sets whether the filter indicator should be displayed.
Syntax
'Declaration
 
Public Property ShowFilterIndicator As Boolean
'Usage
 
Dim instance As DefaultRowFilter
Dim value As Boolean
 
instance.ShowFilterIndicator = value
 
value = instance.ShowFilterIndicator
public bool ShowFilterIndicator {get; set;}

Property Value

Boolean: true to display the filter indicator; false to hide it
Example
This examples shows the icon in the column header for filtering.
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
fpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = true;
fpSpread1.ActiveSheet.RowFilter.AllString = "Show All"; 
fpSpread1.ActiveSheet.RowFilter.BlanksString = "Show The Blanks";
fpSpread1.ActiveSheet.RowFilter.NonBlanksString = "Show The Non-Blanks";
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.RowFilter.ShowFilterIndicator = True
FpSpread1.ActiveSheet.RowFilter.AllString = "Show All" 
FpSpread1.ActiveSheet.RowFilter.BlanksString = "Show The Blanks"
FpSpread1.ActiveSheet.RowFilter.NonBlanksString = "Show The Non-Blanks"
See Also

Reference

DefaultRowFilter Class
DefaultRowFilter Members