menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramStrokeStyle - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramStrokeStyle

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramStrokeStyle
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramStrokeStyle : EJTagHelper

    Constructors

    DiagramStrokeStyle()

    Declaration
    public DiagramStrokeStyle()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Fill

    Sets the fill color of a shape/path

    Declaration
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "transparent"

    Gradient

    Defines the gradient of a shape/path

    Declaration
    public object Gradient { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Opacity

    Sets the opacity of a shape/path

    Declaration
    public double Opacity { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    StrokeColor

    Sets the stroke color of a shape/path

    Declaration
    public string StrokeColor { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "black"

    StrokeDashArray

    Defines the pattern of dashes and spaces to stroke the path/shape

    Declaration
    public string StrokeDashArray { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    StrokeWidth

    Defines the stroke width of the path/shape

    Declaration
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved