Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / Background Class / FillEffect Property
Example


In This Topic
    FillEffect Property (Background)
    In This Topic
    Gives you access to the FillEffect object controlling the fill effect applied on the background.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Gives you access to the FillEffect object controlling the fill effect applied on the background.")>
    Public Property FillEffect As FillEffect
    'Usage
     
    Dim instance As Background
    Dim value As FillEffect
     
    instance.FillEffect = value
     
    value = instance.FillEffect
    [Category("General")]
    [Description("Gives you access to the FillEffect object controlling the fill effect applied on the background.")]
    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