Spread Silverlight Documentation
ShowFilterButton Property
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > RowFilterBase Class : ShowFilterButton Property
Gets or sets a value that indicates whether to show a filter button.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property ShowFilterButton As System.Boolean
'Usage
 
Dim instance As RowFilterBase
Dim value As System.Boolean
 
instance.ShowFilterButton = value
 
value = instance.ShowFilterButton
[System.ComponentModel.DefaultValue()]
public System.bool ShowFilterButton {get; set;}
Example
This example sets the ShowFilterButton property.
gcSpreadSheet1.Sheets[0].RowFilter = new HideRowFilter();
gcSpreadSheet1.Sheets[0].RowFilter.Range = new CellRange(1, 1, 4, 4);

private void Button_Click(object sender, RoutedEventArgs e)
        {
            gcSpreadSheet1.Sheets[0].RowFilter.ShowFilterButton = false;
            gcSpreadSheet1.Invalidate();
        }
GcSpreadSheet1.Sheets(0).RowFilter = New HideRowFilter()
GcSpreadSheet1.Sheets(0).RowFilter.Range = New CellRange(1, 1, 4, 4)

Private Sub Button_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
        GcSpreadSheet1.Sheets(0).RowFilter.ShowFilterButton = False
        GcSpreadSheet1.Invalidate()
    End Sub
See Also

Reference

RowFilterBase Class
RowFilterBase Members