Spread Windows Forms 11.0 Product Documentation
NonBlanksString Property (DefaultRowFilter)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class : NonBlanksString Property
Gets or sets the non-blanks (non-empty cells) string.
Syntax
'Declaration
 
Public Property NonBlanksString As String
'Usage
 
Dim instance As DefaultRowFilter
Dim value As String
 
instance.NonBlanksString = value
 
value = instance.NonBlanksString
public string NonBlanksString {get; set;}

Property Value

String containing the string for including non-blank items
Example
This example sets up a string to replace the "NonBlanks" string in the filter list.
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