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


rowIndex
Row index

Glossary Item Box

Determines whether the specified row is filtered out.

Syntax

Visual Basic (Declaration) 
Public Function IsRowFilteredOut( _
   ByVal rowIndex As Integer _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DefaultRowFilter
Dim rowIndex As Integer
Dim value As Boolean
 
value = instance.IsRowFilteredOut(rowIndex)
C# 
public bool IsRowFilteredOut( 
   int rowIndex
)

Parameters

rowIndex
Row index

Return Value

Boolean: true if row is filtered out; false otherwise

Example

This example returns whether the row has been filtered out.
C#Copy Code
fpSpread1.ActiveSheet.Columns[0].AllowAutoFilter = true;

bool b = fpSpread1.ActiveSheet.RowFilter.IsRowFilteredOut(3);

MessageBox.Show("The column has been filtered is " + b.ToString);
Visual BasicCopy Code
FpSpread1.ActiveSheet.Columns(0).AllowAutoFilter = True
Dim b As Boolean = FpSpread1.ActiveSheet.RowFilter.IsRowFilteredOut(3)
MessageBox.Show("The column has been filtered is " & b.ToString)

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.