GrapeCity.Xaml.SpreadSheet.UI
RowGroupExtent Constructor
Example 


The group starting index.
The number of rows to group.
Creates a new instance of the RowGroupExtent class.
Syntax
'Declaration
 
Public Function New( _
   ByVal index As Integer, _
   ByVal count As Integer _
)
'Usage
 
Dim index As Integer
Dim count As Integer
 
Dim instance As New RowGroupExtent(index, count)
public RowGroupExtent( 
   int index,
   int count
)

Parameters

index
The group starting index.
count
The number of rows to group.
Example
This example creates a RowGroupExtent object.
private void Grid_Loaded_1(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.CanUserUndo = true;
}

private void Button_Click_1(object sender, RoutedEventArgs e)
{
GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupExtent group = new GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupExtent(3, 5);
GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupUndoAction action = new GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupUndoAction(this.gcSpreadSheet1.ActiveSheet, group);
this.gcSpreadSheet1.DoCommand(action);
}
Private Sub MainPage_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded        
gcSpreadSheet1.CanUserUndo = True     
End Sub

Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
Dim group As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupExtent(3, 5)
Dim action As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.RowGroupUndoAction(gcSpreadSheet1.ActiveSheet, group)
gcSpreadSheet1.DoCommand(action)
End Sub
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

RowGroupExtent Class
RowGroupExtent Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options