Spread WPF Documentation
Find(Int32,Int32) Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > RangeGroup Class : Find(Int32,Int32) Method
The index of the row or column.
The level of the outline (range group).
Gets the outline (range group) with a specified group level and row or column index.
Syntax
'Declaration
 
Public Function Find( _
   ByVal index As System.Integer, _
   ByVal level As System.Integer _
) As RangeGroupInfo
'Usage
 
Dim instance As RangeGroup
Dim index As System.Integer
Dim level As System.Integer
Dim value As RangeGroupInfo
 
value = instance.Find(index, level)
public RangeGroupInfo Find( 
   System.int index,
   System.int level
)

Parameters

index
The index of the row or column.
level
The level of the outline (range group).

Return Value

Returns the specified range group.
Example
This example uses the Find method.
gcSpreadSheet1.Sheets[0].RowRangeGroup.Group(1, 10);

private void Button_Click(object sender, RoutedEventArgs e)
        {
            gcSpreadSheet1.Sheets[0].RowRangeGroup.Find(1, 0).State = GroupState.Collapsed;
        }
GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(1, 10)
    Private Sub Button_Click(sender As System.Object, e As System.Windows.RoutedEventArgs)
        GcSpreadSheet1.Sheets(0).RowRangeGroup.Find(1, 0).State = GroupState.Collapsed
    End Sub
See Also

Reference

RangeGroup Class
RangeGroup Members