Represents a form that can be used specify a name for a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
C#
![]() |
---|
public class WorksheetRenameForm : Form |
Visual Basic
![]() |
---|
Public Class WorksheetRenameForm |
This form can be used to prompt the user for the name of a worksheet. To use the form, create an instance of the WorksheetRenameForm class, providing the initial name to display, and call the ShowDialog method. The user's choice can be obtained from the WorksheetName property. The following image shows the form:
The code below demonstrates how to use the form to edit the name of an existing worksheet.
C#
![]() |
---|
var form = new WorksheetRenameForm(worksheet.Name); |
Visual Basic
![]() |
---|
Dim form = New WorksheetRenameForm(worksheet.Name) |
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
MindFusion.Spreadsheet.WinForms.WorksheetRenameForm