Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Returns the ConditionalFormat object associated with the current Cell. If a ConditionalFormat object does not exist, a new one will be created. Any changes made to the object returned will only affect this Cell.

Signature
C#
C#
 public ConditionalFormat ConditionalFormat{ get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public ReadOnly Property ConditionalFormat() As ConditionalFormat
{signature}
{example}{code:csharp|title=C#}
Example
Code Block
csharp
csharp
titleC#


          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          Cell c = wb.Worksheets[0].Cells[0,0];
          ConditionalFormat cf = c.ConditionalFormat;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          Dim c As Cell = wb.Worksheets(0).Cells(0,0)
          Dim cf As ConditionalFormat = c.ConditionalFormat
        
{code} {example} {scrollbar}
Scrollbar