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

Defines the identifier, display label, and example text associated with a bibliographic source field.

Definition

Namespace:Telerik.WinForms.Documents.Model.BibliographicReferences

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class BibliographicReferencePropertyDefinition

Inheritance: objectBibliographicReferencePropertyDefinition

Constructors

Creates a field definition with separate identifier and display name.

C#
public BibliographicReferencePropertyDefinition(string name, string displayName, string exampleText)
Parameters:namestring

The field identifier.

displayNamestring

The label used to display the field.

exampleTextstring

Example text associated with the field.

Creates a field definition whose display name is the same as its identifier.

C#
public BibliographicReferencePropertyDefinition(string name, string exampleText)
Parameters:namestring

The field identifier.

exampleTextstring

Example text associated with the field.

Properties

Gets the display label associated with this field.

C#
public string DisplayName { get; }

Gets example text associated with this field.

C#
public string ExampleText { get; }

Gets the programmatic field name included in source change notifications.

C#
public string Name { get; }

Methods

Determines whether another definition has the same identifier, display name, and example text.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this definition.

Returns:

bool

true when obj is a definition with matching field values; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code based on the identifier, display name, and example text.

C#
public override int GetHashCode()
Returns:

int

A hash code for this definition.

Overrides: object.GetHashCode()