Spread Silverlight Documentation
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 System.String _
)
'Usage
 
Dim sheet As Worksheet
Dim newName As System.String
 
Dim instance As New SheetRenameUndoAction(sheet, newName)
public SheetRenameUndoAction( 
   Worksheet sheet,
   System.string newName
)

Parameters

sheet
The renamed worksheet.
newName
The worksheet's new name.
Example
This example renames a sheet.
var action = new GrapeCity.Windows.SpreadSheet.UI.UndoRedo.SheetRenameUndoAction(GcSpreadSheet1.Sheets[0], "SheetName");
GcSpreadSheet1.DoCommand(action);
Dim action As New GrapeCity.Windows.SpreadSheet.UI.UndoRedo.SheetRenameUndoAction(GcSpreadSheet1.Sheets(0), "SheetName")
GcSpreadSheet1.DoCommand(action)
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

SheetRenameUndoAction Class
SheetRenameUndoAction Members

 

 


Copyright © GrapeCity, inc. All rights reserved.