Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Appearance Class / FilterState Property

In This Topic
    FilterState Property
    In This Topic
    Gets or sets the filtering state.
    Public Property FilterState As FilterState
    Dim instance As Appearance
    Dim value As FilterState
    instance.FilterState = value
    value = instance.FilterState
    public FilterState FilterState {get; set;}

    Property Value

    FilterState setting that specifies the state of filtering

    This property helps the column header renderer know what filtering image to display in the column header.

    This example customizes the appearance object.
    FarPoint.Win.Spread.Appearance appr = new FarPoint.Win.Spread.Appearance(); 
    appr.DisplayZero = false; 
    appr.FilterState = FilterState.None; 
    appr.MouseOver = true; 
    appr.RightToLeft = false; 
    appr.ShowActive = true; 
    appr.SortState = SortState.None; 
    appr.VisualStyles = FarPoint.Win.VisualStyles.On; 
    FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); 
    fpSpread1.ActiveSheet.SetStyleInfo(0, 0, si);
    Dim appr As New FarPoint.Win.Spread.Appearance()
    appr.DisplayZero = False
    appr.FilterState = FilterState.None
    appr.MouseOver = True
    appr.RightToLeft = False
    appr.ShowActive = True
    appr.SortState = SortState.None
    appr.VisualStyles = FarPoint.Win.VisualStyles.On
    Dim si As New FarPoint.Win.Spread.StyleInfo
    fpSpread1.ActiveSheet.SetStyleInfo(0, 0, si)
    See Also