ReferenceFieldBase
Class
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public abstract class ReferenceFieldBase : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldReferenceFieldBase
Derived Classes:
Implements:
Inherited Members
Constructors
C#
public ReferenceFieldBase()
Fields
C#
public static readonly FieldPropertyDefinition BookmarkNameProperty
C#
protected static readonly string ReferenceSourceNotFoundError
Properties
C#
[XamlSerializable]
public string BookmarkName { get; set; }
C#
[XamlSerializable(false)]
public bool ShouldCreateHyperlink { get; set; }
C#
[XamlSerializable(false)]
public bool ShouldDisplayRelativePosition { get; set; }
Methods
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
C#
protected override void BuildCodeOverride()
Overrides:
Copies all properties from another field of the same type.
C#
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.
C#
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
The field code expression.
Overrides:
C#
protected DocumentFragment GetRelativePositionString(DocumentPosition bookmarkPosition, DocumentPosition currentPosition)