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 whether or not the Cell contains a ConditionalFormat object.

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


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


          Dim xla As New ExcelApplication()
          Dim wb As Workbook = xla.Create()
          bool hasCndFmt = wb.Worksheets(0).Cells(0,0).HasConditionalFormat
        
{code} {example} {scrollbar}
Scrollbar