Spread WPF 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 uses 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 (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

GrapeCity.Windows.SpreadSheet.Data Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.