Spread WPF Documentation
Find(Int32,Int32) Method
Example 


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
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

RangeGroup Class
RangeGroup Members

 

 


Copyright © GrapeCity, inc. All rights reserved.