Spread Silverlight Documentation
GroupState Enumeration
Example Example 


GrapeCity.Windows.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 sets the GroupState enumeration.
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
Inheritance Hierarchy

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

See Also

Reference

GrapeCity.Windows.SpreadSheet.Data Namespace