menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramShapeStyle - API Reference

    Show / Hide Table of Contents

    Class DiagramShapeStyle

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    DiagramShapeStyle
    DecoratorStyleSourceDecorator
    HeaderStyleHeader
    LaneHeaderShapeStyle
    LaneStyleLanes
    PhaseStylePhases
    PointPortStylePorts
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramShapeStyle : EJTagHelper

    Constructors

    DiagramShapeStyle()

    Declaration
    public DiagramShapeStyle()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

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

    Fill

    Sets the fill color of a shape/path

    Declaration
    [HtmlAttributeName("fill")]
    public string Fill { get; set; }
    Property Value
    Type Description
    System.String

    The default value is "white"

    Gradient

    Defines the gradient of a shape/path

    Declaration
    [HtmlAttributeName("gradient")]
    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
    [HtmlAttributeName("opacity")]
    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
    [HtmlAttributeName("strokeColor")]
    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
    [HtmlAttributeName("strokeDashArray")]
    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
    [HtmlAttributeName("strokeWidth")]
    public double StrokeWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

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