ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramBackground - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramBackground

    Inheritance
    System.Object
    EJTagHelper
    DiagramBackground
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsCollection
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramBackground : EJTagHelper

    Constructors

    DiagramBackground()

    Declaration
    public DiagramBackground()

    Properties

    Align

    Defines how to align the background image over the diagram area. None - Alignment value will be set as none XMinYMin - smallest X value of the view port and smallest Y value of the view port XMidYMin - midpoint X value of the view port and smallest Y value of the view port XMaxYMin - maximum X value of the view port and smallest Y value of the view port XMinYMid - smallest X value of the view port and midpoint Y value of the view port XMidYMid - midpoint X value of the view port and midpoint Y value of the view port XMaxYMid - maximum X value of the view port and midpoint Y value of the view port XMinYMax - smallest X value of the view port and maximum Y value of the view port XMidYMax - midpoint X value of the view port and maximum Y value of the view port XMaxYMax - maximum X value of the view port and maximum Y value of the view port

    Declaration
    public ImageAlignment Align { get; set; }
    Property Value
    Type Description
    ImageAlignment

    Color

    Defines the background color of diagram

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

    ContentTemplate

    To get or set value for ContentTemplate.

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

    IsComplex

    Declaration
    protected override bool IsComplex { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsComplex

    ParentPropertyName

    Declaration
    protected override string ParentPropertyName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ParentPropertyName

    Scale

    Defines how the background image should be scaled/stretched None - Scale value will be set as None for the image Meet - Scale value Meet will be set for the image Slice - Scale value Slice will be set for the image

    Declaration
    public Scale Scale { get; set; }
    Property Value
    Type Description
    Scale

    Source

    Defines the source of the background image

    Declaration
    public string Source { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved