Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns the style for the first cell in the range. Changes to this style will apply only to the first cell. To assign this style to the entire Range, set Range.SetStyle() to this Style reference.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public Style FirstCellStyle{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public ReadOnly Property FirstCellStyle() As Style</p>Style
Example
Code Block
csharp
csharp
titleC#

Style firstStyle = rng.FirstCellStyle;
Code Block
vb.net
vb.net
titlevb.net

Dim firstStyle As Style = rng.FirstCellStyle