Version

BackHatchStyle Enumeration

Specifies if and how a hatch brush will be used to fill the background of a UIElement.
Syntax
'Declaration
 
Public Enum BackHatchStyle 
   Inherits System.Enum
public enum BackHatchStyle : System.Enum 
Members
MemberDescription
BackwardDiagonalA pattern of lines on a diagonal from upper right to lower left.
CrossSpecifies horizontal and vertical lines that cross.
DarkDownwardDiagonalSpecifies 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 antialiased.
DarkHorizontalSpecifies horizontal lines that are spaced 50 percent closer together than Horizontal and are twice the width of HatchStyleHorizontal.
DarkUpwardDiagonalSpecifies 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 antialiased.
DarkVerticalSpecifies vertical lines that are spaced 50 percent closer together than Vertical and are twice its width.
DashedDownwardDiagonalSpecifies dashed diagonal lines, that slant to the right from top points to bottom points.
DashedHorizontalSpecifies dashed horizontal lines.
DashedUpwardDiagonalSpecifies dashed diagonal lines, that slant to the left from top points to bottom points.
DashedVerticalSpecifies dashed vertical lines.
DefaultThe default style.
DiagonalBrickSpecifies a hatch that has the appearance of layered bricks that slant to the left from top points to bottom points.
DiagonalCrossSpecifies forward diagonal and backward diagonal lines that cross. The lines are antialiased.
DivotSpecifies a hatch that has the appearance of divots.
DottedDiamondSpecifies forward diagonal and backward diagonal lines, each of which is composed of dots, that cross.
DottedGridSpecifies horizontal and vertical lines, each of which is composed of dots, that cross.
ForwardDiagonalA pattern of lines on a diagonal from upper left to lower right.
HorizontalA pattern of horizontal lines.
HorizontalBrickSpecifies a hatch that has the appearance of horizontally layered bricks.
LargeCheckerBoardSpecifies a hatch that has the appearance of a checkerboard with squares that are twice the size of SmallCheckerBoard.
LargeConfettiSpecifies a hatch that has the appearance of confetti, and is composed of larger pieces than SmallConfetti.
LargeGridSpecifies the hatch style Cross
LightDownwardDiagonal 
LightHorizontalSpecifies horizontal lines that are spaced 50 percent closer together than Horizontal.
LightUpwardDiagonalSpecifies 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 antialiased.
LightVerticalSpecifies vertical lines that are spaced 50 percent closer together than Vertical.
NarrowHorizontalSpecifies horizontal lines that are spaced 75 percent closer together than hatch style Horizontal (or 25 percent closer together than LightHorizontal).
NarrowVerticalSpecifies vertical lines that are spaced 75 percent closer together than hatch style Vertical (or 25 percent closer together than LightVertical).
NoneNo hatch. Use solid or gradient backcolor. ///
OutlinedDiamondSpecifies forward diagonal and backward diagonal lines that cross but are not antialiased.
Percent05Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:100.
Percent10Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:100.
Percent20Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:100.
Percent25Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:100.
Percent30Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:100.
Percent40Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:100.
Percent50Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:100.
Percent60Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:100.
Percent70Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:100.
Percent75Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:100.
Percent80Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:100.
Percent90Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:100.
PlaidSpecifies a hatch that has the appearance of a plaid material.
ShingleSpecifies a hatch that has the appearance of diagonally-layered shingles that slant to the right from top points to bottom points.
SmallCheckerBoardSpecifies a hatch that has the appearance of a checkerboard.
SmallConfettiSpecifies a hatch that has the appearance of confetti.
SmallGridSpecifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hatch style Cross.
SolidDiamondSpecifies a hatch that has the appearance of a checkerboard placed diagonally.
SphereSpecifies a hatch that has the appearance of spheres laid adjacent to one another.
TrellisSpecifies a hatch that has the appearance of a trellis.
VerticalA pattern of vertical lines.
WaveSpecifies horizontal lines that are composed of tildes.
WeaveSpecifies a hatch that has the appearance of a woven material.
WideDownwardDiagonalSpecifies 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 antialiased
WideUpwardDiagonalSpecifies 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 antialiased.
ZigZagSpecifies horizontal lines that are composed of zigzags.
Example
This sample creates a new appearance object and sets the color associated properties. This routine is called from the InitializeLayout event of the UltraWinGrid.

Imports Infragistics.Win
		
  Private Sub SetupActiveCellAppearanceColors()

      Dim appearance As Appearance 

      appearance = New Infragistics.Win.Appearance()

      appearance.ForeColor = Color.White
      appearance.ForeColorDisabled = Color.Gray
      appearance.BackColor = Color.Green
      appearance.BackColor2 = Color.Blue
      appearance.BackColorDisabled = Color.Red
      appearance.BackColorDisabled2 = Color.Yellow
      appearance.BackGradientStyle = GradientStyle.Elliptical
      appearance.BackColorAlpha = Alpha.UseAlphaLevel
      appearance.AlphaLevel = 125

      Me.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance

  End Sub
using Infragistics.Win;

	private void SetupActiveCellAppearanceColors()
	{

		Appearance appearance = new Appearance();

		appearance.ForeColor = Color.White ;
		appearance.ForeColorDisabled = Color.Gray ;
		appearance.BackColor = Color.Green ;
		appearance.BackColor2 = Color.Blue;
		appearance.BackColorDisabled = Color.Red;
		appearance.BackColorDisabled2 = Color.Yellow;
		appearance.BackGradientStyle = GradientStyle.Elliptical;
		appearance.BackColorAlpha = Alpha.UseAlphaLevel;
		appearance.AlphaLevel = 125;

		this.ultraGrid1.DisplayLayout.Override.CellAppearance  = appearance;

	}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also