Defines the fluent API for configuring GridSmartBoxSearchSettingsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridSmartBoxSearchSettingsSettingsBuilder<T> where T : class
Inheritance: objectGridSmartBoxSearchSettingsSettingsBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the GridSmartBoxSearchSettingsSettingsBuilder<T> class.
public GridSmartBoxSearchSettingsSettingsBuilder(GridSmartBoxSearchSettingsSettings<T> container)
Properties
Gets the container settings.
protected GridSmartBoxSearchSettingsSettings<T> Container { get; }
Methods
Determines the delay in milliseconds between the user typing a new search value and the component emitting the search event.
public GridSmartBoxSearchSettingsSettingsBuilder<T> Delay(double value)
The value for Delay
Returns:GridSmartBoxSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSearchSettingsSettingsBuilder<T> instance.
Enables or disables the Search mode in the SmartBox.
public GridSmartBoxSearchSettingsSettingsBuilder<T> Enabled(bool value)
The value for Enabled
Returns:GridSmartBoxSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSearchSettingsSettingsBuilder<T> instance.
Sets the settings for the history queries in Search mode. Overrides the global smartBox.history setting for this mode.
public GridSmartBoxSearchSettingsSettingsBuilder<T> History(Action<GridSmartBoxSearchSettingsHistorySettingsBuilder<T>> configurator)
The GridSmartBoxSearchSettingsHistorySettingsBuilder<T> for the history setting.
Returns:GridSmartBoxSearchSettingsSettingsBuilder<T>
Returns the current instance of GridSmartBoxSearchSettingsSettingsBuilder<T> .
Sets the settings for the history queries in Search mode. Overrides the global smartBox.history setting for this mode.
public GridSmartBoxSearchSettingsSettingsBuilder<T> History(bool enabled)
Enables or disables the history option.
Returns:GridSmartBoxSearchSettingsSettingsBuilder<T>
Returns the current instance of GridSmartBoxSearchSettingsHistorySettingsBuilder<T> .
The placeholder of the input in Search mode.
public GridSmartBoxSearchSettingsSettingsBuilder<T> Placeholder(string value)
The value for Placeholder
Returns:GridSmartBoxSearchSettingsSettingsBuilder<T>
Returns the current GridSmartBoxSearchSettingsSettingsBuilder<T> instance.