Spread Windows Forms 6.0 Product Documentation
NonBlanksString Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > DefaultRowFilter Class : NonBlanksString Property


Glossary Item Box

Gets or sets the non-blanks (non-empty cells) string.

Syntax

Visual Basic (Declaration) 
Public Property NonBlanksString As String
Visual Basic (Usage)Copy Code
Dim instance As DefaultRowFilter
Dim value As String
 
instance.NonBlanksString = value
 
value = instance.NonBlanksString
C# 
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.
C#Copy Code
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";
Visual BasicCopy Code
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"

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.