• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ConditionalFormatting

Represents a conditional formatting on a group of cells in a sheet.

Inheritance
object
ConditionalFormatting
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.ConditionalFormatting
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ConditionalFormatting

Constructors

ConditionalFormatting()

Represents a conditional formatting on a group of cells in a sheet.

Declaration
public ConditionalFormatting()

Properties

Pivot

Gets or sets whether the conditional formatting applies to a pivot table.

Declaration
public bool Pivot { get; set; }
Property Value
Type Description
bool

true if the conditional formatting applies to a pivot table; otherwise, false. The default is false.

Range

Specifies the range where the conditional formatting should be applied.

Declaration
public Range Range { get; set; }
Property Value
Type Description
Range

Rules

Get the collection of conditional formatting rules.

Declaration
public ConditionalFormattingRuleCollection Rules { get; }
Property Value
Type Description
ConditionalFormattingRuleCollection

Methods

CellValue()

Creates a new cell value formatting rule and adds it to the rules collection.

Declaration
public CellIsFormattingRule CellValue()
Returns
Type Description
CellIsFormattingRule

A new CellIsFormattingRule instance.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX