Xceed Chart for WinForms v4.4 Documentation
SetSolidColor Method
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > FillEffect Class : SetSolidColor Method
a Color specifying the color of the FillEffect.
Use this function if you want to apply a solid color.
Syntax
'Declaration
 
Public Sub SetSolidColor( _
   ByVal color As Color _
) 
'Usage
 
Dim instance As FillEffect
Dim color As Color
 
instance.SetSolidColor(color)
public void SetSolidColor( 
   Color color
)

Parameters

color
a Color specifying the color of the FillEffect.
Remarks
The function will change the fill effect type and initialize the material properties of the FillEffectBase to display the specified color in cases when lighting is turned on.
Example
The following example applies an AliceBlue color on the background.
ChartControl.Background.FillEffect.SetSolidColor(Color.AliceBlue)
ChartControl.Background.FillEffect.SetSolidColor(Color.AliceBlue);
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

FillEffect Class
FillEffect Members