Xceed Chart for WinForms v4.4 Documentation
Color Property (FillEffect)
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > FillEffect Class : Color Property
The color of the FillEffectBase.
Syntax
'Declaration
 
Public Property Color As Color
'Usage
 
Dim instance As FillEffect

Dim value As Color

 

instance.Color = value

 

value = instance.Color
public Color Color {get; set;}
Remarks
This property also represents the Diffuse color of the material used to render the fill effect when lighting is turned on. This ensures that the color of the fill effect will appear the same. When you set the property you also modify the Ambient color of the material. For more information see the topics under the Lighting book in the Users Guide.
Example
The following example changes the color of the background.
ChartControl.Background.FillEffect.Type = FillEffectType.Color

ChartControl.Background.FillEffect.Color = Color.White
ChartControl.Background.FillEffect.Type = FillEffectType.Color;

ChartControl.Background.FillEffect.Color = Color.White;
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