GrapeCity.Win.MultiRow Namespace > GradientEffect Structure : GradientEffect Constructor |
Public Function New( _ ByVal colors() As Color, _ ByVal style As GradientStyle, _ ByVal direction As GradientDirection _ )
Dim colors() As Color Dim style As GradientStyle Dim direction As GradientDirection Dim instance As New GradientEffect(colors, style, direction)
public GradientEffect( Color[] colors, GradientStyle style, GradientDirection direction )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The style or direction is invalid. |
Target Platforms: 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