Back to Devexpress

ShapeFillPatternType Enum

officefileapi-devexpress-dot-spreadsheet-dot-drawings-58668ca8.md

latest14.6 KB
Original Source

ShapeFillPatternType Enum

Lists preset patterns for a pattern fill.

Namespace : DevExpress.Spreadsheet.Drawings

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum ShapeFillPatternType
vb
Public Enum ShapeFillPatternType

Members

NameDescriptionExample
Cross

A pattern of horizontal and vertical lines that cross each other.

|

| | DashedDownwardDiagonal |

A pattern of dashed downward diagonal lines.

|

| | DashedHorizontal |

A pattern of dashed horizontal lines.

|

| | DashedUpwardDiagonal |

A pattern of dashed upward diagonal lines.

|

| | DashedVertical |

A pattern of dashed vertical lines.

|

| | DiagonalBrick |

A pattern that has the appearance of diagonally layered bricks.

|

| | DiagonalCross |

A pattern of crisscross diagonal lines.

|

| | Divot |

A pattern that has the appearance of divots.

|

| | DarkDownwardDiagonal |

A pattern of thick downward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.DownwardDiagonal pattern and whose width is two times greater than the width of ShapeFillPatternType.DownwardDiagonal lines.

|

| | DarkHorizontal |

A pattern of thick horizontal lines that are spaced 50% closer together than in the ShapeFillPatternType.Horizontal pattern and whose width is two times greater than the width of ShapeFillPatternType.Horizontal lines.

|

| | DarkUpwardDiagonal |

A pattern of thick upward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.UpwardDiagonal pattern and whose width is two times greater than the width of ShapeFillPatternType.UpwardDiagonal lines.

|

| | DarkVertical |

A pattern of thick vertical lines that are spaced 50% closer together than in the ShapeFillPatternType.Vertical pattern and whose width is two times greater than the width of ShapeFillPatternType.Vertical lines.

|

| | DownwardDiagonal |

A pattern of downward diagonal lines.

|

| | DottedDiamond |

A pattern of dotted forward and backward diagonal lines that cross each other.

|

| | DottedGrid |

A pattern of dotted horizontal and vertical lines that cross each other.

|

| | Horizontal |

A pattern of horizontal lines.

|

| | HorizontalBrick |

A pattern that has the appearance of horizontally layered bricks.

|

| | LargeCheckerBoard |

A pattern that has the appearance of a checkerboard with large squares.

|

| | LargeConfetti |

A pattern that has the appearance of large confetti.

|

| | LargeGrid |

A pattern of horizontal and vertical lines that cross each other to form a series of large squares. This pattern is equal to ShapeFillPatternType.Cross.

|

| | LightDownwardDiagonal |

A pattern of thin downward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.DownwardDiagonal pattern.

|

| | LightHorizontal |

A pattern of thin horizontal lines that are spaced 50% closer together than in the ShapeFillPatternType.Horizontal pattern.

|

| | LightUpwardDiagonal |

A pattern of thin upward diagonal lines that are spaced 50% closer together than in the ShapeFillPatternType.UpwardDiagonal pattern.

|

| | LightVertical |

A pattern of thin vertical lines that are spaced 50% closer together than in the ShapeFillPatternType.Vertical pattern.

|

| | NarrowHorizontal |

A pattern of thin horizontal lines that are spaced 75% closer together than in the ShapeFillPatternType.Horizontal pattern.

|

| | NarrowVertical |

A pattern of thin vertical lines that are spaced 75% closer together than in the ShapeFillPatternType.Vertical pattern.

|

| | OpenDiamond |

A pattern of forward and backward diagonal lines that cross each other.

|

| | Percent10 |

A 10% pattern. The ratio of the foreground color to the background color is 10 to 90.

|

| | Percent20 |

A 20% pattern. The ratio of the foreground color to the background color is 20 to 80.

|

| | Percent25 |

A 25% pattern. The ratio of the foreground color to the background color is 25 to 75.

|

| | Percent30 |

A 30% pattern. The ratio of the foreground color to the background color is 30 to 70.

|

| | Percent40 |

A 40% pattern. The ratio of the foreground color to the background color is 40 to 60.

|

| | Percent5 |

A 5% pattern. The ratio of the foreground color to the background color is 5 to 95.

|

| | Percent50 |

A 50% pattern. The ratio of the foreground color to the background color is 50 to 50.

|

| | Percent60 |

A 60% pattern. The ratio of the foreground color to the background color is 60 to 40.

|

| | Percent70 |

A 70% pattern. The ratio of the foreground color to the background color is 70 to 30.

|

| | Percent75 |

A 75% pattern. The ratio of the foreground color to the background color is 75 to 25.

|

| | Percent80 |

A 80% pattern. The ratio of the foreground color to the background color is 80 to 20.

|

| | Percent90 |

A 90% pattern. The ratio of the foreground color to the background color is 90 to 10.

|

| | Plaid |

A pattern that has the appearance of the plaid material.

|

| | Shingle |

A pattern that has the appearance of diagonally layered shingles.

|

| | SmallCheckerBoard |

A pattern that has the appearance of a checkerboard with small squares.

|

| | SmallConfetti |

A pattern that has the appearance of small confetti.

|

| | SmallGrid |

A pattern of closely spaced horizontal and vertical lines that cross each other to form a series of small squares.

|

| | SolidDiamond |

A pattern that has the appearance of a checkerboard made up of equal-sized diamonds.

|

| | Sphere |

A pattern that has the appearance of adjacent spheres.

|

| | Trellis |

A pattern that has the appearance of a trellis.

|

| | UpwardDiagonal |

A pattern of upward diagonal lines.

|

| | Vertical |

A pattern of vertical lines.

|

| | Wave |

A pattern of horizontal lines that are composed of reversed tildes.

|

| | WideDownwardDiagonal |

A pattern of wide downward diagonal lines whose width is three times greater than the width of ShapeFillPatternType.DownwardDiagonal lines.

|

| | WideUpwardDiagonal |

A pattern of wide upward diagonal lines whose width is three times greater than the width of ShapeFillPatternType.UpwardDiagonal lines.

|

| | Weave |

A pattern that has the appearance of the woven material.

|

| | ZigZag |

A pattern of horizontal lines that are composed of zigzags.

|

|

The following properties accept/return ShapeFillPatternType values:

Remarks

Pass a ShapeFillPatternType enumeration member to the ShapeFill.SetPatternFill method to fill a shape or chart with a pattern.

Use the ShapePatternFill.PatternType property to obtain or change the pattern fill type.

See Also

DevExpress.Spreadsheet.Drawings Namespace