Nevron .NET Vision
Nevron.Chart Namespace / NAnnotationSeries Class / StrokeStyle Property
Example


In This Topic
    StrokeStyle Property (NAnnotationSeries)
    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 StrokeStyle As NStrokeStyle
    'Usage
     
    
    Dim instance As NAnnotationSeries
    Dim value As NStrokeStyle
     
    instance.StrokeStyle = value
     
    value = instance.StrokeStyle
    [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 StrokeStyle {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.StrokeStyle.Color = Color.Blue
    series.StrokeStyle.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