ReasoningBuilder
Defines the fluent API for configuring the Kendo UI Reasoning
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ReasoningBuilder : WidgetBuilderBase<Reasoning, ReasoningBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<Reasoning, ReasoningBuilder>ReasoningBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ReasoningBuilder class.
Methods
Marks the reasoning step as completed, applying the k-agent-completed CSS class to the element.
Marks the reasoning step as completed, applying the k-agent-completed CSS class to the element.
public ReasoningBuilder Completed(bool value)
The value for Completed
Returns:Returns the current ReasoningBuilder instance.
Plain text content rendered inside the step body.
public ReasoningBuilder Content(string value)
The value for Content
Returns:Returns the current ReasoningBuilder instance.
A function used to render the content body. Called with an empty object and must return an HTML string.
public ReasoningBuilder ContentTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the contenttemplate.
Returns:Returns the current ReasoningBuilder instance.
A function used to render the content body. Called with an empty object and must return an HTML string.
public ReasoningBuilder ContentTemplateHandler(string templateHandler)
The handler that returs the template for ContentTemplate
Returns:Returns the current ReasoningBuilder instance.
Configures the client-side events.
public ReasoningBuilder Events(Action<ReasoningEventBuilder> configurator)
The client events action.
Returns:Returns the current ReasoningBuilder instance.
Enables toggling the visibility of the content body by clicking the header or using the keyboard.
Enables toggling the visibility of the content body by clicking the header or using the keyboard.
public ReasoningBuilder Expandable(bool value)
The value for Expandable
Returns:Returns the current ReasoningBuilder instance.
Controls whether the content body is visible when the widget initializes.
Controls whether the content body is visible when the widget initializes.
public ReasoningBuilder Expanded(bool value)
The value for Expanded
Returns:Returns the current ReasoningBuilder instance.
The primary text label displayed in the step header.
public ReasoningBuilder Label(string value)
The value for Label
Returns:Returns the current ReasoningBuilder instance.
A secondary text label displayed after the separator in the step header.
public ReasoningBuilder SecondaryLabel(string value)
The value for SecondaryLabel
Returns:Returns the current ReasoningBuilder instance.
The name of the SVG icon displayed in the step header.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public ReasoningBuilder SvgIcon(Action<ReasoningSvgIconSettingsBuilder> configurator)
The ReasoningSvgIconSettingsBuilder for the svgicon setting.
Returns:Returns the current instance of ReasoningBuilder .
The name of the SVG icon displayed in the step header.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public ReasoningBuilder SvgIcon(string svgIcon)
The svgicon.
Returns:Returns the current instance of ReasoningBuilder .
A time or duration string displayed after a separator in the step header.
public ReasoningBuilder Time(string value)
The value for Time
Returns:Returns the current ReasoningBuilder instance.