Prompts the user to insert cells within a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
SyntaxC#
Copy Code
|
|---|
public class InsertCellsForm : Form |
Visual Basic
Copy Code
|
|---|
Public Class InsertCellsForm |
RemarksThis form can be used to prompt the user to insert cells in a worksheet. To use the form, create an instance of the InsertCellsForm class and call the ShowDialog method. The user's choice can be obtained from the Result property. The following image shows the form:

ExampleThe code below demonstrates how to use the form to insert cells in an existing cell range.
C#
Copy Code
|
|---|
var form = new InsertCellsForm(); |
Visual Basic
Copy Code
|
|---|
Dim form = New InsertCellsForm() Case CellsFormDialogResult.ShiftVertical Case CellsFormDialogResult.ShiftHorizontal Case CellsFormDialogResult.EntireRow Case CellsFormDialogResult.EntireColumn End Select |
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.InsertCellsForm
See Also