Prompts the user to define a named range for a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
SyntaxC#
Copy Code
|
|---|
public class DefineNamedRangeForm : Form |
Visual Basic
Copy Code
|
|---|
Public Class DefineNamedRangeForm |
RemarksThis form can be used to add a NamedRange object to a workbook. To use the form, create an instance of the DefineNamedRangeForm class by providing the related worksheet, and call the ShowDialog method. The NamedRange object specified in the form can be accessed through the NamedRange property. The following image shows the form:

ExampleThe code below demonstrates how to display the form for an existing worksheet.
C#
Copy Code
|
|---|
var form = new DefineNamedRangeForm(worksheet); |
Visual Basic
Copy Code
|
|---|
Dim form = New DefineNamedRangeForm(worksheet) |
Inheritance HierarchySystem.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.DefineNamedRangeForm
See Also