Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramHyperlink

    Show / Hide Table of Contents

    Class DiagramHyperlink

    It lets users navigate from one page to another.

    Inheritance
    System.Object
    SfDiagramBase
    DiagramHyperlink
    ConnectorHyperlink
    NodeHyperlink
    Inherited Members
    SfDiagramBase.UpdateCollection(IList, Boolean)
    SfDiagramBase.RandomString(Int32)
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class DiagramHyperlink : SfDiagramBase

    Constructors

    DiagramHyperlink()

    It lets users navigate from one page to another.

    Declaration
    public DiagramHyperlink()

    Properties

    Color

    Sets fill color to the hyperlink.

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

    Content

    The hyperlink can be defined using text. This definition can be set in content.

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String
    Examples
    new DiagramNodeAnnotation() {
     Hyperlink = new NodeHyperlink()
      {
       Link = https://www.google.com,Content=” Google”}
      }

    Link

    It is a reference for a page to be navigated.

    Declaration
    public string Link { get; set; }
    Property Value
    Type Description
    System.String
    Examples
    new DiagramNodeAnnotation() {
     Hyperlink = new NodeHyperlink()
      {
       Link = https://www.google.com }
      }

    TextDecoration

    Decorates the content of the hyperlink as per the user’s preference.

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

    The content can be decorated using underline, overline, or line through.

    Examples
    new DiagramNodeAnnotation() {
      Hyperlink = new NodeHyperlink()
      {
       Link = https://www.google.com,Content=”Google”,TextDecoration=TextDecoration.Underline}
      }
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved