GrapeCity.Xaml.SpreadSheet.Data
GroupState Enumeration
Example Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace : GroupState Enumeration
Specifies the status of an outline (range group).
Syntax
'Declaration
 
Public Enum GroupState 
   Inherits System.Enum
'Usage
 
Dim instance As GroupState
public enum GroupState : System.Enum 
Members
MemberDescription
Collapsed [1] Indicates collapsed status with the plus sign.
Expanded [0] Indicates expanded status with the minus sign.
Example
This example uses the GroupState enumeration.
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Xaml.SpreadSheet.Data.GroupState

See Also

Reference

GrapeCity.Xaml.SpreadSheet.Data Namespace