Represents a form that can be used specify a name for a worksheet.
Namespace: MindFusion.Spreadsheet.Wpf.StandardForms
Assembly: MindFusion.Spreadsheet.Wpf.StandardForms
C# Copy Code |
---|
public class WorksheetRenameForm : Window, INotifyPropertyChanged, IComponentConnector |
Visual Basic Copy Code |
---|
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 SheetName 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# Copy Code |
---|
var form = new WorksheetRenameForm(worksheet.Name); |
Visual Basic Copy Code |
---|
Dim form = New WorksheetRenameForm(worksheet.Name) |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
System.Windows.Window
MindFusion.Spreadsheet.Wpf.StandardForms.WorksheetRenameForm