Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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}
{example}{code:csharp|title=C#}

          ExcelApplication xla = new ExcelApplication();
          Workbook wb = xla.Create();
          Cell c = wb.Worksheets[0].Cells[0,0];
          ConditionalFormat cf = c.ConditionalFormat;
        
{code}
{code:vb.net
|title=vb.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
        
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns the [ConditionalFormat] object associated with the current [Cell|Cell]. If a [ConditionalFormat|ConditionalFormat] object does not exist, a new one will be created. Any changes made to the object returned will only affect this {{Cell}}.{excerpt}
{signature:C#}
 public ConditionalFormat ConditionalFormat{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property ConditionalFormat() As ConditionalFormat
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle

...

{code}

{example}
{scrollbar}