Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / FillStyle Property
Example


In This Topic
    FillStyle Property
    In This Topic
    Controls the way in which the surface is filled. Currently there are two filling modes: zone filling and no filling.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("Controls the way in which the surface is filled.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property FillStyle As SurfaceFillStyle
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As SurfaceFillStyle
     
    instance.FillStyle = value
     
    value = instance.FillStyle
    [Category("Appearance")]
    [Description("Controls the way in which the surface is filled.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public SurfaceFillStyle FillStyle {get; set;}
    Example
    The code below sets the fill mode to none. This mode is used for wireframe rendering of the surface series:
    surface.FillStyle = SurfaceFillStyle.None;
    surface.FillStyle = SurfaceFillStyle.None;
    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