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}Sets or returns a [Style|Style] object that determines how cells in the row look, including number format, font, orientation, etc. Accessing this style will not affect the formatting of other cells with the same global style.{excerpt}
{signature:C#}
 public Style Style{ get; set; }
{signature}{signature:vb.net}
Public Property Style() As Style
{signature}
{remarks}When a style is +set+ on a column \- rather than +applied+ \(see [ApplyStyle|RowProperties.ApplyStyle(Style)]\) \- all properties of the style take effect on the cells in that row.  Properties not explicitly set on the new style default to Normal style values.

{remarks}
{example}{code:csharp|title=C#}

          //--- Get Style
          Style rowStyle = rowProps.Style;

          //--- Set Style
          rowProps.Style = styl;
        {code}
{code:vb.net|title=vb.net}

          '--- Get Style
          Dim rowStyle As Style = rowProps.Style

          '--- Set Style
          rowProps.Style = styl
        {code}

{example}