New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Kendo UI Reasoning component

Definition

Constructors

Initializes a new instance of the Reasoning class.

C#
public Reasoning(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

Marks the reasoning step as completed, applying the k-agent-completed CSS class to the element.

C#
public bool? Completed { get; set; }

Plain text content rendered inside the step body.

C#
public string Content { get; set; }

The handler for the ContentTemplate

C#
public string ContentTemplateHandler { get; set; }

Enables toggling the visibility of the content body by clicking the header or using the keyboard.

C#
public bool? Expandable { get; set; }

Controls whether the content body is visible when the widget initializes.

C#
public bool? Expanded { get; set; }

The primary text label displayed in the step header.

C#
public string Label { get; set; }

A secondary text label displayed after the separator in the step header.

C#
public string SecondaryLabel { get; set; }

The name of the SVG icon displayed in the step header.

C#
public string SvgIcon { get; set; }

A time or duration string displayed after a separator in the step header.

C#
public string Time { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)