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

Defines the fluent API for configuring GridSmartBoxSemanticSearchSettingsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> where T : class

Inheritance: objectGridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> class.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder(GridSmartBoxSemanticSearchSettingsSettings<T> container)
Parameters:containerGridSmartBoxSemanticSearchSettingsSettings<T>

Properties

Gets the container settings.

C#
protected GridSmartBoxSemanticSearchSettingsSettings<T> Container { get; }

Methods

Determines the delay in milliseconds between the user typing a new search value and the component emitting the semanticSearch event.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Delay(double value)
Parameters:valuedouble

The value for Delay

Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.

Enables or disables the Semantic Search mode in the SmartBox.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Enabled()
Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.

Enables or disables the Semantic Search mode in the SmartBox.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Enabled(bool value)
Parameters:valuebool

The value for Enabled

Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.

Sets the settings for the history queries in Semantic Search mode. Overrides the global smartBox.history setting for this mode.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> History(Action<GridSmartBoxSemanticSearchSettingsHistorySettingsBuilder<T>> configurator)
Parameters:configuratorAction<GridSmartBoxSemanticSearchSettingsHistorySettingsBuilder<T>>

The GridSmartBoxSemanticSearchSettingsHistorySettingsBuilder<T> for the history setting.

Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> .

Sets the settings for the history queries in Semantic Search mode. Overrides the global smartBox.history setting for this mode.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> History(bool enabled)
Parameters:enabledbool

Enables or disables the history option.

Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current instance of GridSmartBoxSemanticSearchSettingsHistorySettingsBuilder<T> .

The placeholder of the input in Semantic Search mode.

C#
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Placeholder(string value)
Parameters:valuestring

The value for Placeholder

Returns:

GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>

Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.