A form which can be used to define conditional formats for cells within a worksheet.
Namespace: MindFusion.Spreadsheet.WinForms
Assembly: MindFusion.Spreadsheet.WinForms.StandardForms
C#
![]() |
---|
public class ConditionalFormatForm : Form |
Visual Basic
![]() |
---|
Public Class ConditionalFormatForm |
This form can be used to add, edit, and remove conditional formats for a cell or a range of cells. To use the form, create an instance of the ConditionalFormatForm 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:
The code below demonstrates how to display the conditional format form for an existing CellRange instance.
C#
![]() |
---|
var form = new ConditionalFormatForm(workbook, cellRange.Style); |
Visual Basic
![]() |
---|
Dim form = New ConditionalFormatForm(workbook, cellRange.Style) |
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.ConditionalFormatForm