menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DiagramHyperlink

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramHyperlink
    AnnotationHyperlinkAnnotation
    ShapeAnnotationHyperlinkAnnotations
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramHyperlink : EJTagHelper

    Constructors

    DiagramHyperlink()

    Declaration
    public DiagramHyperlink()

    Properties

    Color

    Sets the fill color of the hyperlink

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

    The default value is "blue"

    Content

    Defines the content for hyperlink

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

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

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

    HyperlinkOpenState

    Allows the user to open the hyperlink in the new tab, current tab or new window

    Declaration
    public LinkTarget HyperlinkOpenState { get; set; }
    Property Value
    Type Description
    LinkTarget

    The default value is LinkTarget.NewTab

    Link

    Defines the link for hyperlink

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

    The default value is ""

    TextDecoration

    Defines how the link should be decorated. For example, with underline/over line Overline - Decorates the text with a line above the text Underline - Decorates the text with an underline LineThrough - Decorates the text by striking it with a line None - Text will not have any specific decoration

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

    The default value is TextDecoration.None

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