CitationBuilder
Defines the fluent API for configuring the Kendo Citation for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CitationBuilder : WidgetBuilderBase<Citation, CitationBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<Citation, CitationBuilder>CitationBuilder
Implements:
Inherited Members
Constructors
Methods
A function used to render the entire popover body. Receives { sources: [] } as the first argument and must return an HTML string. When set, the built-in navigation buttons and source layout are not rendered.
public CitationBuilder BodyTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the bodytemplate.
Returns:A function used to render the entire popover body. Receives { sources: [] } as the first argument and must return an HTML string. When set, the built-in navigation buttons and source layout are not rendered.
public CitationBuilder BodyTemplateHandler(string value)
The value that configures the bodytemplate.
Returns:Configures the client-side events.
public CitationBuilder Events(Action<CitationEventBuilder> configurator)
The client events action.
Returns:The text label displayed on the chip. When null, the hostname of the first source URL is used automatically.
public CitationBuilder Label(string value)
The value that configures the label.
Returns:Contains the localizable text strings used by the widget.
public CitationBuilder Messages(Action<CitationMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:The width of the sources popover in pixels.
public CitationBuilder PopoverWidth(double value)
The value that configures the popoverwidth.
Returns:When true and more than one source is present, a +N count is appended to the chip label showing the number of additional sources.
public CitationBuilder ShowAdditionalCount(bool value)
The value that configures the showadditionalcount.
Returns:Determines when the popover is shown.
public CitationBuilder ShowOn(CitationShowOn value)
The value that configures the showon.
Returns:The name of the SVG icon used for source links inside the popover.
public CitationBuilder SourceIcon(Action<CitationSourceIconSettingsBuilder> configurator)
The action that configures the sourceicon.
Returns:The name of the SVG icon used for source links inside the popover.
An array of source objects displayed in the popover. Each source object can include url, title, and description properties.
public CitationBuilder Sources(Action<CitationSourceFactory> configurator)
The action that configures the sources.
Returns:Overrides sourceIcon with a specific SVG icon name for source links inside the popover.
public CitationBuilder SourceSVGIcon(Action<CitationSourceSVGIconSettingsBuilder> configurator)
The action that configures the sourcesvgicon.
Returns:Overrides sourceIcon with a specific SVG icon name for source links inside the popover.
public CitationBuilder SourceSVGIcon(string sourceSVGIcon)
The name of the SVG icon displayed on the chip.
public CitationBuilder SvgIcon(Action<CitationSvgIconSettingsBuilder> configurator)
The action that configures the svgicon.
Returns:The name of the SVG icon displayed on the chip.