Nevron .NET Vision
Nevron.Chart Namespace / NSeries Class / BorderStyle Property
Example


In This Topic
    BorderStyle Property (NSeries)
    In This Topic
    Gets or sets the default stroke style applied to the series borders.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Styles")>
    <System.ComponentModel.DescriptionAttribute("Controls the default border style of the series.")>
    <System.ComponentModel.EditorAttribute(Nevron.Editors.NStrokeStyleTypeEditorNoAutomatic, System.Drawing.Design.UITypeEditor)>
    Public Property BorderStyle As NStrokeStyle
    'Usage
     
    
    Dim instance As NSeries
    Dim value As NStrokeStyle
     
    instance.BorderStyle = value
     
    value = instance.BorderStyle
    [System.ComponentModel.Category("Styles")]
    [System.ComponentModel.Description("Controls the default border style of the series.")]
    [System.ComponentModel.Editor(Nevron.Editors.NStrokeStyleTypeEditorNoAutomatic, System.Drawing.Design.UITypeEditor)]
    public NStrokeStyle BorderStyle {get; set;}
    Remarks
    The NStrokeStyle object accessible through this method specifies the default border style of the series data points. This border style can be replaced for each individual data point by adding NStrokeStyle objects to the BorderStyles data series.
    Example
    The following code will set the color of the default border to blue.
    series.BorderStyle.Color = Color.Blue
    series.BorderStyle.Color = Color.Blue;
    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