HyperlinkField
Represents a hyperlink field.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class HyperlinkField : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldHyperlinkField
Implements:
Inherited Members
Constructors
Initializes a new instance of the HyperlinkField class.
public HyperlinkField()
Initializes a new instance of the HyperlinkField class.
public HyperlinkField(HyperlinkInfo info, DocumentFragment fragment)
The hyperlink information.
fragmentDocumentFragmentThe fragment representing the content of the hyperlink.
Initializes a new instance of the HyperlinkField class.
public HyperlinkField(HyperlinkInfo info, string hyperlinkText)
The hyperlink information.
hyperlinkTextstringThe text of the hyperlink.
Fields
public static readonly FieldPropertyDefinition LocationInFileProperty
The URI to navigate to.
public static readonly FieldPropertyDefinition NavigateUriProperty
public static readonly FieldPropertyDefinition TargetProperty
Properties
Gets the name of the field type.
public override string FieldTypeName { get; }
Overrides:
Gets or sets the hyperlink information.
public HyperlinkInfo HyperlinkInfo { get; set; }
The hyperlink information.
Gets or sets the location in file.
[XamlSerializable]
public string LocationInFile { get; set; }
The location in file.
Gets or sets the URI to navigate to..
[XamlSerializable]
public string NavigateUri { get; set; }
The navigate URI.
Methods
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
protected override void BuildCodeOverride()
Overrides:
Copies all properties from another field of the same type.
public override void CopyPropertiesFrom(Field fromField)
The other field, which has to be of the same type as the current instance.
Overrides:
Copies the field-specific properties from a FieldCodeExpression.
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
The field code expression.
Overrides:
Creates a new instance of the current field class.
Builds the result fragment of the field.
protected override DocumentFragment GetResultFragment()
The result fragment.
Overrides: