Spread WPF Documentation
Range Property (RowFilterBase)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > RowFilterBase Class : Range Property
Gets or sets the cell range for the row filter.
Syntax
'Declaration
 
Public Overridable Property Range As CellRange
'Usage
 
Dim instance As RowFilterBase
Dim value As CellRange
 
instance.Range = value
 
value = instance.Range
public virtual CellRange Range {get; set;}
Example
This example creates a row filter.
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