Initializes a new instance of the Appearance class.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public Appearance(
	Color foreColor,
	Color backColor,
	bool gradientEnabled,
	Color gradientEndBackColor,
	GradientDirection gradientDirection
)
Visual Basic
Public Sub New ( 
	foreColor As Color,
	backColor As Color,
	gradientEnabled As Boolean,
	gradientEndBackColor As Color,
	gradientDirection As GradientDirection
)
Visual C++
public:
Appearance(
	Color foreColor, 
	Color backColor, 
	bool gradientEnabled, 
	Color gradientEndBackColor, 
	GradientDirection gradientDirection
)
F#
new : 
        foreColor : Color * 
        backColor : Color * 
        gradientEnabled : bool * 
        gradientEndBackColor : Color * 
        gradientDirection : GradientDirection -> Appearance

Parameters

foreColor
Type: System.Drawing..::..Color
Foreground color.
backColor
Type: System.Drawing..::..Color
Background color or the beginning background color of the linear gradient
gradientEnabled
Type: System..::..Boolean
Specifies whether the gradient is enabled.
gradientEndBackColor
Type: System.Drawing..::..Color
Ending background color of the linear gradient.
gradientDirection
Type: Dapfor.Net.Ui..::..GradientDirection
The gradient direction.

See Also