CitationField
Generates an in-text citation using the selected bibliographic style and the source identified by SourceName. An unknown source tag produces the field's invalid-source message.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class CitationField : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldCitationField
Implements:
Inherited Members
Constructors
Creates a citation field and initializes its source-name field property.
public CitationField()
Fields
Identifies the field-code token associated with citation fields.
public static readonly string FieldType
Defines the field argument that stores the bibliographic source tag used by this citation.
public static readonly FieldPropertyDefinition SourceNameProperty
Properties
Gets the name of the field type.
public override string FieldTypeName { get; }
Overrides:
Gets or sets the source tag used to resolve this citation in the document's source collection.
[XamlSerializable]
public string SourceName { get; set; }
Changing the value invalidates the code fragment, which is rebuilt when next requested.
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: