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

Specifies settings.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class GridToolBarSmartBoxToolSemanticSearchSettings : GridToolBarSmartBoxToolSearchSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentGridToolBarSmartBoxToolSearchSettingsBaseGridToolBarSmartBoxToolSemanticSearchSettings

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members GridToolBarSmartBoxToolSearchSettingsBase.ChildContentGridToolBarSmartBoxToolSearchSettingsBase.EnabledBaseComponent.ShouldRender()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.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)...

Constructors

C#
public GridToolBarSmartBoxToolSemanticSearchSettings()

Methods

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

Overrides: ComponentBase.BuildRenderTree(RenderTreeBuilder)

C#
protected override Task OnInitializedAsync()
Returns:

Task

Overrides: GridToolBarSmartBoxToolSearchSettingsBase.OnInitializedAsync()

C#
protected override Task OnParametersSetAsync()
Returns:

Task

Overrides: GridToolBarSmartBoxToolSearchSettingsBase.OnParametersSetAsync()

C#
public override Task SetParametersAsync(ParameterView parameters)
Parameters:parametersParameterViewReturns:

Task

Overrides: GridToolBarSmartBoxToolSearchSettingsBase.SetParametersAsync(ParameterView)

Properties

Specifies the delay in milliseconds before triggering semantic search after the user stops typing. Semantic search typically involves AI processing which can be more resource-intensive than regular search. Defaults to 900 milliseconds (higher than regular search) to reduce unnecessary AI calls while typing. Adjust based on your AI service response times and user experience preferences.

C#
[Parameter]
public int DebounceDelay { get; set; }

Fires when the user performs a semantic search operation from the Grid toolbar SmartBox. The event args (GridSmartBoxSemanticSearchEventArgs) contain the natural language query entered by the user. Use this to integrate with AI/ML services, vector databases, or semantic search APIs to find contextually relevant results. Unlike standard search, semantic search understands intent and meaning rather than exact text matches. Works with DebounceDelay to control when searches are triggered.

C#
[Parameter]
public EventCallback<GridSmartBoxSemanticSearchEventArgs> OnSearch { get; set; }

Defines the placeholder text shown in the semantic search input when empty. Guides users to enter natural language queries instead of exact text matches. Defaults to a localized prompt encouraging conversational search. Example: "Ask a question about your data...".

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