Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NodeHyperlink - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NodeHyperlink

    It allows users to navigate from one page to another. Hyperlink need not be a text (annotation).

    Inheritance
    System.Object
    SfDiagramBase
    DiagramHyperlink
    NodeHyperlink
    Inherited Members
    DiagramHyperlink.Color
    DiagramHyperlink.Content
    DiagramHyperlink.Link
    DiagramHyperlink.TextDecoration
    SfDiagramBase.UpdateCollection(IList, Boolean)
    SfDiagramBase.RandomString(Int32)
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class NodeHyperlink : DiagramHyperlink
    Examples
    <SfDiagram Height="600px" Nodes="@NodeCollection">
    </SfDiagram>
    @code
    {
       public ObservableCollection<DiagramNode> NodeCollection { get; set; }
       protected override void OnInitialized()
       {
          NodeCollection = new ObservableCollection<DiagramNode>();
          DiagramNode node = new DiagramNode()
          {
             Width = 100,
             Height = 100,
             Annotations = new ObservableCollection<DiagramNodeAnnotation>() {
             new DiagramNodeAnnotation() {  Hyperlink = new NodeHyperlink()
             { Link = https://www.google.com,
               Color =’red’
              }
          }
       },
      };
      NodeCollection.Add(node);
     }
    }

    Constructors

    NodeHyperlink()

    It allows users to navigate from one page to another. Hyperlink need not be a text (annotation).

    Declaration
    public NodeHyperlink()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved