Class HyperlinkField
Represents a hyperlink field.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class HyperlinkField : CodeBasedField, ISupportInitialize
Constructors
HyperlinkField()
HyperlinkField(HyperlinkInfo, String)
Initializes a new instance of the Hyperlink
Declaration
public HyperlinkField(HyperlinkInfo info, string hyperlinkText)
Parameters
Hyperlink The hyperlink information. |
System. The text of the hyperlink. |
HyperlinkField(HyperlinkInfo, DocumentFragment)
Initializes a new instance of the Hyperlink
Declaration
public HyperlinkField(HyperlinkInfo info, DocumentFragment fragment)
Parameters
Hyperlink The hyperlink information. |
Document The fragment representing the content of the hyperlink. |
Fields
FieldType
Declaration
public static readonly string FieldType
Field Value
System.
|
LocationInFileProperty
Declaration
public static readonly FieldPropertyDefinition LocationInFileProperty
Field Value
NavigateUriProperty
TargetProperty
Declaration
public static readonly FieldPropertyDefinition TargetProperty
Field Value
Properties
FieldTypeName
Gets the name of the field type.
Declaration
public override string FieldTypeName { get; }
Property Value
System.
|
Overrides
HyperlinkInfo
Gets or sets the hyperlink information.
Declaration
public HyperlinkInfo HyperlinkInfo { get; set; }
Property Value
Hyperlink The hyperlink information. |
LocationInFile
Gets or sets the location in file.
Declaration
[XamlSerializable]
public string LocationInFile { get; set; }
Property Value
System. The location in file. |
NavigateUri
Target
Gets or sets the target of the hyperlink.
Declaration
[XamlSerializable]
public string Target { get; set; }
Property Value
System. The target. |
Methods
BuildCodeOverride()
Builds the field-specific parts of the code fragment, using the current Code
Declaration
protected override void BuildCodeOverride()
Overrides
CopyPropertiesFrom(Field)
Copies all properties from another field of the same type.
Declaration
public override void CopyPropertiesFrom(Field fromField)
Parameters
Field
fromField
The other field, which has to be of the same type as the current instance. |
Overrides
CopyPropertiesFromCodeExpression(FieldCodeExpression)
Copies the field-specific properties from a Field
Declaration
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
Parameters
Field The field code expression. |
Overrides
CreateInstance()
Creates a new instance of the current field class.
Declaration
public override Field CreateInstance()
Returns
Field
The new field instance. |
Overrides
GetResultFragment()
Builds the result fragment of the field.
Declaration
protected override DocumentFragment GetResultFragment()
Returns
Document The result fragment. |