Message-ID: <537155059.8815.1711662965328.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8814_1539315324.1711662965328" ------=_Part_8814_1539315324.1711662965328 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Style.Pattern

Style.Pattern

Description

Sets or returns a=20 Pattern applied to cells.=20
C#
=20
public Pattern Pattern{ get; set; }
=20
=20
vb.net
=20
Public Property Pattern() As Pattern
=20
=20

Remarks

=20

By default, an unformatted cell will have a pattern of type Pattern.None= . Setting the pattern to a different value will cause the cell's fill to ha= ve a pattern applied.

If there is no pattern, the Style.BackgroundColor determines the color of the = cell. If there is a pattern, then the Style.BackgroundColor will specify the cell= 's background color, and Style.ForegroundColor will specify the cell's pattern co= lor.

=20

Examples

=20
C#
=20
          //--- Get Pattern
          Pattern ptn =3D c.Style.Pattern;

          //--- Set Pattern
          styl.Pattern =3D Pattern.DiagonalCrosshatch;
        
=20
vb.net
=20
          '--- Get Pattern
          Dim ptn As Pattern =3D c.Style.Pattern

          '--- Set Pattern
          styl.Pattern =3D Patter.DiagonalCrosshatch
        
=20
------=_Part_8814_1539315324.1711662965328--