New to Telerik UI for WinForms? Start a free 30-day trial

Stores a bibliographic source field as a value of a specific type.

Definition

Namespace:Telerik.WinForms.Documents.Model.BibliographicReferences

Assembly:Telerik.WinControls.RichTextEditor.dll

Type Parameters:

T

The type of the value stored by this property.

Syntax:

C#
public class BibliographicReferenceProperty<T> : BibliographicReferenceProperty

Inheritance: objectBibliographicReferencePropertyBibliographicReferenceProperty<T>

Constructors

Creates and registers a typed field with its owning bibliographic source.

C#
public BibliographicReferenceProperty(BibliographicSource owner, BibliographicReferencePropertyDefinition propertyDefinition)
Parameters:ownerBibliographicSource

The source that stores this field.

propertyDefinitionBibliographicReferencePropertyDefinition

The definition used to identify the field.

Properties

Gets the typed value stored for this source field.

C#
public T Value { get; }

Methods

Returns Value boxed as an object.

C#
public override object GetValueAsObject()
Returns:

object

The current value, boxed when it is a value type.

Overrides: BibliographicReferenceProperty.GetValueAsObject()

Casts and stores the specified value as T.

C#
public override void SetValue(object newValue)
Parameters:newValueobject

A value compatible with T.

Overrides: BibliographicReferenceProperty.SetValue(object)