ClassAddNewBibliographicSourceDialogContext
Represents the context for adding a new bibliographic source in the dialog.
Definition
Namespace:Telerik.Windows.Documents.UI.Extensibility
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class AddNewBibliographicSourceDialogContext
Inheritance: objectAddNewBibliographicSourceDialogContext
Constructors
AddNewBibliographicSourceDialogContext(RadDocument, string, bool, Action<BibliographicSource>)
Declaration
public AddNewBibliographicSourceDialogContext(RadDocument document, string sourceName = null, bool insertFieldOnClose = true, Action<BibliographicSource> callBackOnClosed = null)
Parameters
document
sourceName
insertFieldOnClose
callBackOnClosed
Properties
BRSourceName
Gets or sets the name of the bibliographic reference source in the dialog context.
Declaration
public string BRSourceName { get; set; }
Property Value
A string representing the name of the bibliographic reference source.
CallBackOnClosed
Invoked when the Add New Bibliographic Source dialog is closed, allowing for custom actions to be performed.
Declaration
public Action<BibliographicSource> CallBackOnClosed { get; set; }
Property Value
Document
Represents the document associated with the Add New Bibliographic Source dialog context.
InsertFieldOnClose
Inserts a new field when the dialog is closed.
Methods
InsertCitationField(CitationField)
Inserts a citation field into the bibliographic source dialog context.
Declaration
public void InsertCitationField(CitationField field)
Parameters
field
The citation field to be inserted.