Class DiagramHyperlinkBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.Diagrams
Assembly: Syncfusion.EJ2.dll
Syntax
public class DiagramHyperlinkBuilder : ControlBuilder
Constructors
DiagramHyperlinkBuilder()
Declaration
public DiagramHyperlinkBuilder()
DiagramHyperlinkBuilder(DiagramHyperlink)
Declaration
public DiagramHyperlinkBuilder(DiagramHyperlink model)
Parameters
Type | Name | Description |
---|---|---|
DiagramHyperlink | model |
Methods
Color(String)
Sets the fill color of the hyperlink
Declaration
public DiagramHyperlinkBuilder Color(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
DiagramHyperlinkBuilder |
Content(String)
Defines the content for hyperlink
Declaration
public DiagramHyperlinkBuilder Content(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
DiagramHyperlinkBuilder |
HyperlinkOpenState(LinkTarget)
Allows the user to open the hyperlink in the new tab, current tab or new window
Declaration
public DiagramHyperlinkBuilder HyperlinkOpenState(LinkTarget value)
Parameters
Type | Name | Description |
---|---|---|
LinkTarget | value |
Returns
Type | Description |
---|---|
DiagramHyperlinkBuilder |
Link(String)
Defines the link for hyperlink
Declaration
public DiagramHyperlinkBuilder Link(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
DiagramHyperlinkBuilder |
TextDecoration(TextDecoration)
Defines how the link should be decorated. For example, with underline/over line Overline - Decorates the text with a line above the text Underline - Decorates the text with an underline LineThrough - Decorates the text by striking it with a line None - Text will not have any specific decoration
Declaration
public DiagramHyperlinkBuilder TextDecoration(TextDecoration value)
Parameters
Type | Name | Description |
---|---|---|
TextDecoration | value |
Returns
Type | Description |
---|---|
DiagramHyperlinkBuilder |