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


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Background Class : FillEffect Property
Gives you access to the FillEffect object controlling the fill effect applied on the background.
Syntax
'Declaration
 
<DescriptionAttribute("Gives you access to the FillEffect object controlling the fill effect applied on the background.")>
<CategoryAttribute("General")>
Public Property FillEffect As FillEffect
'Usage
 
Dim instance As Background
Dim value As FillEffect
 
instance.FillEffect = value
 
value = instance.FillEffect
[Description("Gives you access to the FillEffect object controlling the fill effect applied on the background.")]
[Category("General")]
public FillEffect FillEffect {get; set;}
Remarks
Note that the fill effect applied on the background discards the properties related to lighting and transparency.
Example
The following example modifies the fill effect applied on the background:
ChartControl.Background.FillEffect.SetGradient(GradientStyle.Horizontal, GradientVariant.Variant1, Color.White, Color.BlueViolet)
ChartControl.Background.FillEffect.SetGradient(GradientStyle.Horizontal, GradientVariant.Variant1, Color.White, Color.BlueViolet);
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

Background Class
Background Members