Class HyperlinkInfo
Represents information about a hyperlink.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class HyperlinkInfo
Properties
Address
Gets the address.
Declaration
public string Address { get; }
Property Value
System.String
The address. |
EmailSubject
Gets the email subject.
Declaration
public string EmailSubject { get; }
Property Value
System.String
The email subject. |
ScreenTip
Gets the screen tip.
Declaration
public string ScreenTip { get; }
Property Value
System.String
The screen tip. |
SubAddress
Gets the sub address.
Declaration
public string SubAddress { get; }
Property Value
System.String
The sub address. |
Type
Gets the type of the hyperlink.
Declaration
public HyperlinkType Type { get; }
Property Value
HyperlinkType
The type. |
Methods
CreateHyperlink(String, String)
Creates a hyperlink.
Declaration
public static HyperlinkInfo CreateHyperlink(string address, string screenTip = null)
Parameters
System.String
address
The address. |
System.String
screenTip
The screen tip. |
Returns
HyperlinkInfo
The hyperlink information. |
CreateInDocumentHyperlink(String, String)
Creates an in-document hyperlink.
Declaration
public static HyperlinkInfo CreateInDocumentHyperlink(string subAddress, string screenTip = null)
Parameters
System.String
subAddress
The sub address. |
System.String
screenTip
The screen tip. |
Returns
HyperlinkInfo
The hyperlink information. |
CreateMailtoHyperlink(String)
Creates a mailto hyperlink.
Declaration
public static HyperlinkInfo CreateMailtoHyperlink(string emailAddress)
Parameters
System.String
emailAddress
The email address. |
Returns
HyperlinkInfo
The hyperlink information. |
CreateMailtoHyperlink(String, String)
Creates a mailto hyperlink.
Declaration
public static HyperlinkInfo CreateMailtoHyperlink(string emailAddress, string emailSubject)
Parameters
System.String
emailAddress
The email address. |
System.String
emailSubject
The email subject. |
Returns
HyperlinkInfo
The hyperlink information. |
CreateMailtoHyperlink(String, String, String)
Creates a mailto hyperlink.
Declaration
public static HyperlinkInfo CreateMailtoHyperlink(string emailAddress, string emailSubject, string screenTip)
Parameters
System.String
emailAddress
The email address. |
System.String
emailSubject
The email subject. |
System.String
screenTip
The screen tip. |
Returns
HyperlinkInfo
The hyperlink information. |
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
System.Boolean
True if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |