Class NodeHyperlink
It allows users to navigate from one page to another. Hyperlink need not be a text (annotation).
Inherited Members
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()