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
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:vb.net}
Public ReadOnly Property ConditionalFormat() As ConditionalFormat
{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
        {code}

{example}
{scrollbar}