Class ConnectorHyperlink
Defines the appearance and properties of the hyperlinks in the connector label.
Inherited Members
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class ConnectorHyperlink : DiagramHyperlink
Remarks
The hyperlink can be customized by adding text, color. The Hyperlink can be set to the DiagramConnectorAnnotations of the connector.
Examples
<SfDiagram Height="600px" Connectors="@ConnectorsCollection">
</SfDiagram>
@code
{
public ObservableCollection<DiagramConnector> ConnectorsCollection { get; set; }
protected override void OnInitialized()
{
ConnectorsCollection = new ObservableCollection<DiagramConnector>();
DiagramConnector Connector = new DiagramConnector()
{
Width = 100,
Height = 100,
Annotations = new ObservableCollection<DiagramConnectorAnnotation>() {
new DiagramConnectorAnnotation() {
Hyperlink = new ConnectorHyperlink()
{
Link = "https://www.google.com",
Color=”red”,
Content=”Google”}
}
},
};
ConnectorsCollection.Add(Connector);
}
}
Constructors
ConnectorHyperlink()
Defines the appearance and properties of the hyperlinks in the connector label.
Declaration
public ConnectorHyperlink()