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


In This Topic
    FillEffect Property (ImageFrame)
    In This Topic
    The fill effect applied on the frame.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("The fill effect applied on the frame.")>
    Public Property FillEffect As FillEffect
    'Usage
     
    Dim instance As ImageFrame
    Dim value As FillEffect
     
    instance.FillEffect = value
     
    value = instance.FillEffect
    [Category("Appearance")]
    [Description("The fill effect applied on the frame.")]
    public FillEffect FillEffect {get; set;}
    Remarks
    Gives you access to the FillEffect object controlling the fill effect applied on the frame.
    Example
    The following code applies a gradient on the frame:
    Dim imageFrame As ImageFrame =  ChartControl.Background.ImageFrame 
    imageFrame.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.Ocean2, 11)
    ImageFrame imageFrame = ChartControl.Background.ImageFrame;
    imageFrame.FillEffect.SetPredefinedAdvancedGradient(AdvancedGradientScheme.Ocean2, 11);
    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