Spread Windows Forms 15.0
Spread Windows Forms 15.0 Product Documentation / Developer's Guide / Customizing Row or Column Interaction / Managing Filtering of Rows of User Data / Setting the Appearance of Filter Indicators / Showing or Hiding Filter Indicators
In This Topic
    Showing or Hiding Filter Indicators
    In This Topic

    You can display for the user or hide from the user the filter indicators that appear in the column headers.

    Using Code

    1. Set the AllowAutoFilter property.
    2. Set the ShowFilterIndicator property.

    Example

    This example enables the filtering on first column and hides the filter indicator.

    C#
    Copy Code
    fpSpread1.Sheets[0].Columns[0].AllowAutoFilter = true;
    fpSpread1.Sheets[0].RowFilter.ShowFilterIndicator = false;
    
    VB
    Copy Code
    fpSpread1.Sheets(0).Columns(0).AllowAutoFilter = True
    fpSpread1.Sheets(0).RowFilter.ShowFilterIndicator = False
    
    See Also