New to Telerik UI for BlazorStart a free 30-day trial

Displays a single reasoning or explanation step with an optional collapsible body.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class TelerikReasoning : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentTelerikReasoning

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members BaseComponent.ShouldRender()BaseComponent.OnInitializedAsync()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeVoidAsyncWithoutAwait(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)...

Constructors

C#
public TelerikReasoning()

Properties

Indicates that the reasoning step has completed. When true, a completed visual treatment is applied.

C#
[Parameter]
public bool Completed { get; set; }

The reasoning body content supplied by the host.

C#
[Parameter]
public string? Content { get; set; }

Custom template for the reasoning body content. Takes precedence over Content.

C#
[Parameter]
public RenderFragment? ContentTemplate { get; set; }

Whether the step head exposes disclosure behaviour. When false no expand icon or body is rendered.

C#
[Parameter]
public bool Expandable { get; set; }

Whether the reasoning body is visible.

C#
[Parameter]
public bool Expanded { get; set; }

Fires when the user toggles the expanded state.

C#
[Parameter]
public EventCallback<bool> ExpandedChanged { get; set; }

The icon displayed in the step head. Defaults to .

C#
[Parameter]
public object? Icon { get; set; }

The summary label shown in the step head. Defaults to "Reasoning".

C#
[Parameter]
public string Label { get; set; }

Optional secondary descriptive text shown in the step head.

C#
[Parameter]
public string? SecondaryLabel { get; set; }

Methods

C#
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters:__builderRenderTreeBuilder

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
public void Refresh()