Spread WPF Documentation
Range Property (HideRowFilter)
Example 


Gets or sets the cell range for the hide row filter.
Syntax
'Declaration
 
Public Overrides Property Range As CellRange
'Usage
 
Dim instance As HideRowFilter
Dim value As CellRange
 
instance.Range = value
 
value = instance.Range
public override CellRange Range {get; set;}
Example
This example sets the Range 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 (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

HideRowFilter Class
HideRowFilter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.