Reasoning
Kendo UI Reasoning component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class Reasoning : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseReasoning
Implements:
Inherited Members
Constructors
Initializes a new instance of the Reasoning class.
Properties
Marks the reasoning step as completed, applying the k-agent-completed CSS class to the element.
public bool? Completed { get; set; }
Plain text content rendered inside the step body.
public string Content { get; set; }
A function used to render the content body. Called with an empty object and must return an HTML string.
public string ContentTemplateHandler { get; set; }
Enables toggling the visibility of the content body by clicking the header or using the keyboard.
public bool? Expandable { get; set; }
Controls whether the content body is visible when the widget initializes.
public bool? Expanded { get; set; }
The primary text label displayed in the step header.
public string Label { get; set; }
A secondary text label displayed after the separator in the step header.
public string SecondaryLabel { get; set; }
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 ReasoningSvgIconSettings SvgIconSettings { get; }
Methods
Serialize the current instance to Dictionary
public override IDictionary<string, object> Serialize()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: