New to Telerik UI for WinFormsStart a free 30-day trial

Definition

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: CodeBasedField.BuildCodeOverride()

Copies all properties from another field of the same type.

C#
public override void CopyPropertiesFrom(Field fromField)
Parameters:fromFieldField

The other field, which has to be of the same type as the current instance.

Overrides: CodeBasedField.CopyPropertiesFrom(Field)

Copies the field-specific properties from a FieldCodeExpression.

C#
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
Parameters:fieldCodeExpressionFieldCodeExpression

The field code expression.

Overrides: CodeBasedField.CopyPropertiesFromCodeExpression(FieldCodeExpression)

C#
protected DocumentFragment GetRelativePositionString(DocumentPosition bookmarkPosition, DocumentPosition currentPosition)
Parameters:bookmarkPositionDocumentPositioncurrentPositionDocumentPositionReturns:

DocumentFragment