Nevron .NET Vision
Nevron.GraphicsCore Namespace / NBackgroundStyle Class / FillStyle Property
Example


In This Topic
    FillStyle Property (NBackgroundStyle)
    In This Topic
    Gives you access to the NFillEffect object controlling the fill effect applied on the background.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Gives you access to the NFillEffect object controlling the fill effect applied on the background.")>
    Public Property FillStyle As NFillStyle
    'Usage
     
    
    Dim instance As NBackgroundStyle
    Dim value As NFillStyle
     
    instance.FillStyle = value
     
    value = instance.FillStyle
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Gives you access to the NFillEffect object controlling the fill effect applied on the background.")]
    public NFillStyle FillStyle {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:
    NChartControl.BackgroundStyle.FillStyle = new NGradientFillStyle(GradientStyle.Horizontal, GradientVariant.Variant1, Color.White, Color.BlueViolet)
    NChartControl.BackgroundStyle.FillStyle = new NGradientFillStyle(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