Spread Windows Forms 11.0 Product Documentation
FilterState Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : FilterState Enumeration
Specifies the state of filtering for the current column so the column renderer knows which filtering image to draw.
Syntax
'Declaration
 
Public Enum FilterState 
   Inherits System.Enum
'Usage
 
Dim instance As FilterState
public enum FilterState : System.Enum 
Members
MemberDescription
FilterActiveFiltering is active.
FilterActiveDisabledFiltering is active, and the control is disabled.
FilterInactiveFiltering is available, but not currently in use.
FilterInactiveDisabledFiltering is available, but not currently in use, and the control is disabled.
NoneFiltering is not available.
Example
This example uses the FilterState enumeration.
FarPoint.Win.Spread.Appearance appr = new FarPoint.Win.Spread.Appearance(Color.Lavender, Color.LavenderBlush, new Font("Ms Sans Serif", 10), CellHorizontalAlignment.Center, CellVerticalAlignment.Center, true, true, Color.Yellow, Color.Aqua, Color.Bisque, Color.Azure, Win.VisualStyles.On, SortState.None, FilterState.None, true, true);
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
si.SetAppearance(appr);
fpSpread1.ActiveSheet.SetStyleInfo(-1, -1, si);
Dim appr As New FarPoint.Win.Spread.Appearance(Color.Lavender, Color.LavenderBlush, New Font("Ms Sans Serif", 10), CellHorizontalAlignment.Center, CellVerticalAlignment.Center, True, True, Color.Yellow, Color.Aqua, Color.Bisque, Color.Azure, Win.VisualStyles.On, SortState.None, FilterState.None, True, True)
Dim si As New FarPoint.Win.Spread.StyleInfo
si.SetAppearance(appr)
fpSpread1.ActiveSheet.SetStyleInfo(-1, -1, si)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.FilterState

See Also

Reference

FarPoint.Win.Spread Namespace
FilterState Property (Appearance Class)

User-Task Documentation

Managing Filtering of Rows