Class DiagramHyperlink
It lets users navigate from one page to another.
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}
}