GrapeCity.Xaml.SpreadSheet.Data
State Property
Example 


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

Property Value

The state of this outline (range group). The default value is Expanded.
Example
This example uses the State property.
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
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

RangeGroupInfo Class
RangeGroupInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options