Spread Silverlight Documentation
State Property
Example 


Gets or sets the state of this outline (range group).
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property State As GroupState
'Usage
 
Dim instance As RangeGroupInfo
Dim value As GroupState
 
instance.State = value
 
value = instance.State
[System.ComponentModel.DefaultValue()]
public GroupState State {get; set;}

Property Value

The state of this outline (range group). The default value is Expanded.
Example
This example sets the State property.
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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

RangeGroupInfo Class
RangeGroupInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.