GrapeCity MultiRow Windows Forms Documentation
GradientEffect Constructor


The gradient colors.
The gradient style.
The gradient direction.
Initializes a new instance of the GradientEffect structure.
Syntax
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
)

Parameters

colors
The gradient colors.
style
The gradient style.
direction
The gradient direction.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException The style or direction is invalid.
Requirements

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

See Also

Reference

GradientEffect Structure
GradientEffect Members

 

 


Copyright © GrapeCity, inc. All rights reserved.