Defines the fluent API for configuring GridSmartBoxSemanticSearchSettingsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> where T : class
Inheritance: objectGridSmartBoxSemanticSearchSettingsSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> class.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder(GridSmartBoxSemanticSearchSettingsSettings<T> container)
Properties
Gets the container settings.
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.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Delay(double value)
The value for Delay
Returns:GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.
Enables or disables the Semantic Search mode in the SmartBox.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Enabled()
GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.
Enables or disables the Semantic Search mode in the SmartBox.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Enabled(bool value)
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.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> History(Action<GridSmartBoxSemanticSearchSettingsHistorySettingsBuilder<T>> configurator)
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.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> History(bool enabled)
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.
public GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> Placeholder(string value)
The value for Placeholder
Returns:GridSmartBoxSemanticSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSemanticSearchSettingsSettingsBuilder<T> instance.