Spread Silverlight Documentation
ShowFilterButton Property
Example 


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
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

RowFilterBase Class
RowFilterBase Members

 

 


Copyright © GrapeCity, inc. All rights reserved.