alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PatternStyle

    Defines the constants that specify various pattern styles.

    Inheritance
    System.Object
    PatternStyle
    Namespace: Syncfusion.WinForms.Core.Enums
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public sealed class PatternStyle : Enum

    Fields

    BackwardDiagonal

    A pattern of lines on a diagonal from top-right to bottom-left.

    Declaration
    public const PatternStyle BackwardDiagonal
    Field Value
    Type
    PatternStyle

    Cross

    A pattern of cross-cross horizontal and vertical lines.

    Declaration
    public const PatternStyle Cross
    Field Value
    Type
    PatternStyle

    DarkDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points, are spaced 50 percent closer together than, and are twice the width of ForwardDiagonal. This hatch pattern is not anti-aliased.

    Declaration
    public const PatternStyle DarkDownwardDiagonal
    Field Value
    Type
    PatternStyle

    DarkHorizontal

    Specifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of HatchStyleHorizontal.

    Declaration
    public const PatternStyle DarkHorizontal
    Field Value
    Type
    PatternStyle

    DarkUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 percent closer together than BackwardDiagonal and are twice its width, but the lines are not anti-aliased.

    Declaration
    public const PatternStyle DarkUpwardDiagonal
    Field Value
    Type
    PatternStyle

    DarkVertical

    Specifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.

    Declaration
    public const PatternStyle DarkVertical
    Field Value
    Type
    PatternStyle

    DashedDownwardDiagonal

    Specifies dashed diagonal lines, that slant to the right from top points to bottom points.

    Declaration
    public const PatternStyle DashedDownwardDiagonal
    Field Value
    Type
    PatternStyle

    DashedHorizontal

    Specifies dashed horizontal lines.

    Declaration
    public const PatternStyle DashedHorizontal
    Field Value
    Type
    PatternStyle

    DashedUpwardDiagonal

    Specifies dashed diagonal lines, that slant to the left from top points to bottom points.

    Declaration
    public const PatternStyle DashedUpwardDiagonal
    Field Value
    Type
    PatternStyle

    DashedVertical

    Specifies dashed vertical lines.

    Declaration
    public const PatternStyle DashedVertical
    Field Value
    Type
    PatternStyle

    DiagonalBrick

    Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.

    Declaration
    public const PatternStyle DiagonalBrick
    Field Value
    Type
    PatternStyle

    DiagonalCross

    A pattern of cross-cross diagonal lines.

    Declaration
    public const PatternStyle DiagonalCross
    Field Value
    Type
    PatternStyle

    Divot

    Specifies a hatch that has the appearance of divots.

    Declaration
    public const PatternStyle Divot
    Field Value
    Type
    PatternStyle

    DottedDiamond

    Specifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.

    Declaration
    public const PatternStyle DottedDiamond
    Field Value
    Type
    PatternStyle

    DottedGrid

    Specifies horizontal and vertical lines, each of which is composed of dots, that cross.

    Declaration
    public const PatternStyle DottedGrid
    Field Value
    Type
    PatternStyle

    ForwardDiagonal

    A pattern of lines on a diagonal from top-left to bottom-right.

    Declaration
    public const PatternStyle ForwardDiagonal
    Field Value
    Type
    PatternStyle

    Horizontal

    A pattern of horizontal lines.

    Declaration
    public const PatternStyle Horizontal
    Field Value
    Type
    PatternStyle

    HorizontalBrick

    Specifies a hatch that has the appearance of horizontally layered bricks.

    Declaration
    public const PatternStyle HorizontalBrick
    Field Value
    Type
    PatternStyle

    LargeCheckerBoard

    Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.

    Declaration
    public const PatternStyle LargeCheckerBoard
    Field Value
    Type
    PatternStyle

    LargeConfetti

    Specifies a hatch that has the appearance of confetti and is composed of larger pieces than SmallConfetti.

    Declaration
    public const PatternStyle LargeConfetti
    Field Value
    Type
    PatternStyle

    LightDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal, but they are not anti-aliased.

    Declaration
    public const PatternStyle LightDownwardDiagonal
    Field Value
    Type
    PatternStyle

    LightHorizontal

    Specifies light horizontal lines.

    Declaration
    public const PatternStyle LightHorizontal
    Field Value
    Type
    PatternStyle

    LightUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 percent closer together than BackwardDiagonal, but they are not anti-aliased.

    Declaration
    public const PatternStyle LightUpwardDiagonal
    Field Value
    Type
    PatternStyle

    LightVertical

    Specifies light vertical lines.

    Declaration
    public const PatternStyle LightVertical
    Field Value
    Type
    PatternStyle

    NarrowHorizontal

    Specifies narrow horizontal lines

    Declaration
    public const PatternStyle NarrowHorizontal
    Field Value
    Type
    PatternStyle

    NarrowVertical

    Specifies narrow vertical lines .

    Declaration
    public const PatternStyle NarrowVertical
    Field Value
    Type
    PatternStyle

    None

    A none value.

    Declaration
    public const PatternStyle None
    Field Value
    Type
    PatternStyle

    OutlinedDiamond

    Specifies forward diagonal and backward diagonal lines that cross but are not anti aliased.

    Declaration
    public const PatternStyle OutlinedDiamond
    Field Value
    Type
    PatternStyle

    Percent05

    Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:100.

    Declaration
    public const PatternStyle Percent05
    Field Value
    Type
    PatternStyle

    Percent10

    Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:100.

    Declaration
    public const PatternStyle Percent10
    Field Value
    Type
    PatternStyle

    Percent20

    Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:100.

    Declaration
    public const PatternStyle Percent20
    Field Value
    Type
    PatternStyle

    Percent25

    Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:100.

    Declaration
    public const PatternStyle Percent25
    Field Value
    Type
    PatternStyle

    Percent30

    Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:100.

    Declaration
    public const PatternStyle Percent30
    Field Value
    Type
    PatternStyle

    Percent40

    Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:100.

    Declaration
    public const PatternStyle Percent40
    Field Value
    Type
    PatternStyle

    Percent50

    Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:100.

    Declaration
    public const PatternStyle Percent50
    Field Value
    Type
    PatternStyle

    Percent60

    Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:100.

    Declaration
    public const PatternStyle Percent60
    Field Value
    Type
    PatternStyle

    Percent70

    Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:100.

    Declaration
    public const PatternStyle Percent70
    Field Value
    Type
    PatternStyle

    Percent75

    Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:100.

    Declaration
    public const PatternStyle Percent75
    Field Value
    Type
    PatternStyle

    Percent80

    Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.

    Declaration
    public const PatternStyle Percent80
    Field Value
    Type
    PatternStyle

    Percent90

    Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:100.

    Declaration
    public const PatternStyle Percent90
    Field Value
    Type
    PatternStyle

    Plaid

    Specifies a hatch that has the appearance of a plaid material.

    Declaration
    public const PatternStyle Plaid
    Field Value
    Type
    PatternStyle

    Shingle

    Specifies a hatch that has the appearance of diagonally-layered shingles that slant to the right from top points to bottom points.

    Declaration
    public const PatternStyle Shingle
    Field Value
    Type
    PatternStyle

    SmallCheckerBoard

    Specifies a hatch that has the appearance of a checkerboard.

    Declaration
    public const PatternStyle SmallCheckerBoard
    Field Value
    Type
    PatternStyle

    SmallConfetti

    Specifies a hatch that has the appearance of confetti.

    Declaration
    public const PatternStyle SmallConfetti
    Field Value
    Type
    PatternStyle

    SmallGrid

    Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.

    Declaration
    public const PatternStyle SmallGrid
    Field Value
    Type
    PatternStyle

    SolidDiamond

    Specifies a hatch that has the appearance of a checkerboard placed diagonally.

    Declaration
    public const PatternStyle SolidDiamond
    Field Value
    Type
    PatternStyle

    Sphere

    Specifies a hatch that has the appearance of spheres laid adjacent to one another.

    Declaration
    public const PatternStyle Sphere
    Field Value
    Type
    PatternStyle

    Trellis

    Specifies a hatch that has the appearance of a trellis.

    Declaration
    public const PatternStyle Trellis
    Field Value
    Type
    PatternStyle

    Vertical

    A pattern of vertical lines.

    Declaration
    public const PatternStyle Vertical
    Field Value
    Type
    PatternStyle

    Wave

    Specifies horizontal lines that are composed of tildes.

    Declaration
    public const PatternStyle Wave
    Field Value
    Type
    PatternStyle

    Weave

    Specifies a hatch that has the appearance of a woven material.

    Declaration
    public const PatternStyle Weave
    Field Value
    Type
    PatternStyle

    WideDownwardDiagonal

    Specifies diagonal lines that slant to the right from top points to bottom points, have the same spacing as hatch style ForwardDiagonal and are triple its width, but are not anti-aliased.

    Declaration
    public const PatternStyle WideDownwardDiagonal
    Field Value
    Type
    PatternStyle

    WideUpwardDiagonal

    Specifies diagonal lines that slant to the left from top points to bottom points, have the same spacing as hatch style BackwardDiagonal and are triple its width, but are not anti-aliased.

    Declaration
    public const PatternStyle WideUpwardDiagonal
    Field Value
    Type
    PatternStyle

    ZigZag

    Specifies horizontal lines that are composed of zigzags.

    Declaration
    public const PatternStyle ZigZag
    Field Value
    Type
    PatternStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved