Prompts the user to define a named range for a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
C#
![]() |
---|
public class DefineNamedRangeForm : Form |
Visual Basic
![]() |
---|
Public Class DefineNamedRangeForm |
This 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:
The code below demonstrates how to display the form for an existing worksheet.
C#
![]() |
---|
var form = new DefineNamedRangeForm(worksheet); |
Visual Basic
![]() |
---|
Dim form = New DefineNamedRangeForm(worksheet) |
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.DefineNamedRangeForm