A form which can be used to define format for cells within a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
SyntaxC#
Copy Code
|
|---|
public class FormatForm : Form |
Visual Basic
Copy Code
|
|---|
Public Class FormatForm |
RemarksThis form can be used to apply formatting to a cell or a range of cells. To use the form, create an instance of the FormatForm class, by providing the related workbook and the IStyle object of the target cell or range of cells, and call the ShowDialog method. To apply the changes made through the form, call the Apply method. The following image shows the form:

ExampleThe code below demonstrates how to use the form to format the cells identified by an existing CellRange instance.
C#
Copy Code
|
|---|
var form = new FormatForm(workbook, cellRange.Style, workbook.Locale); |
Visual Basic
Copy Code
|
|---|
Dim form = New FormatForm(workbook, cellRange.Style, workbook.Locale) |
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.FormatForm
See Also