Spread Silverlight Documentation
GroupState Enumeration
Example Example 


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

Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

GrapeCity.Windows.SpreadSheet.Data Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.