GrapeCity.Xaml.SpreadSheet.Data
Find(Int32,Int32) Method
Example 


GrapeCity.Xaml.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 Integer, _
   ByVal level As Integer _
) As RangeGroupInfo
'Usage
 
Dim instance As RangeGroup
Dim index As Integer
Dim level As Integer
Dim value As RangeGroupInfo
 
value = instance.Find(index, level)
public RangeGroupInfo Find( 
   int index,
   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_1(object sender, RoutedEventArgs e)
        {
            gcSpreadSheet1.Sheets[0].RowRangeGroup.Find(1, 0).State = GrapeCity.Xaml.SpreadSheet.Data.GroupState.Collapsed;
        }
GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(1, 10)

    Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
        GcSpreadSheet1.Sheets(0).RowRangeGroup.Find(1, 0).State = GrapeCity.Xaml.SpreadSheet.Data.GroupState.Collapsed
    End Sub
See Also

Reference

RangeGroup Class
RangeGroup Members