GrapeCity.Xaml.SpreadSheet.UI
SheetRenameUndoAction Constructor
Example 


The renamed worksheet.
The worksheet's new name.
Creates a new instance of the SheetRenameUndoAction class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheet As Worksheet, _
   ByVal newName As String _
)
'Usage
 
Dim sheet As Worksheet
Dim newName As String
 
Dim instance As New SheetRenameUndoAction(sheet, newName)
public SheetRenameUndoAction( 
   Worksheet sheet,
   string newName
)

Parameters

sheet
The renamed worksheet.
newName
The worksheet's new name.
Example
This example renames a sheet.
var action = new GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.SheetRenameUndoAction(GcSpreadSheet1.Sheets[0], "SheetName");
GcSpreadSheet1.DoCommand(action);
Dim action As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.SheetRenameUndoAction(GcSpreadSheet1.Sheets(0), "SheetName")
GcSpreadSheet1.DoCommand(action)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SheetRenameUndoAction Class
SheetRenameUndoAction Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options