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

Kendo UI GridSmartBoxSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectGridSmartBoxSettings<T>

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

Constructors

C#
public GridSmartBoxSettings()

Properties

Defines the active mode of the SmartBox.

C#
public SmartBoxActiveMode? ActiveMode { get; set; }

Configures the initial settings for the AI Assistant mode.

C#
public GridSmartBoxAiAssistantSettingsSettings<T> AiAssistantSettings { get; }

Gets the SmartBox event handlers.

C#
public IDictionary<string, object> Events { get; }
C#
public Grid<T> Grid { get; set; }

Sets the settings for the history queries of all modes. When set to true, enables history with default settings. Can be set to an object to customize the history behavior.

C#
public GridSmartBoxHistorySettings<T> History { get; }

Represents the template for a history query in the SmartBox component.

C#
public string HistoryItemTemplate { get; set; }

The handler that returns the template used for HistoryItemTemplate

C#
public string HistoryItemTemplateHandler { get; set; }

The id of the script element used for HistoryItemTemplate

C#
public string HistoryItemTemplateId { get; set; }

The unified placeholder text of the SmartBox input independent of the activated mode.

C#
public string Placeholder { get; set; }

Configures the initial settings for the Search mode.

C#
public GridSmartBoxSearchSettingsSettings<T> SearchSettings { get; }

Configures the initial settings for the Semantic Search mode.

C#
public GridSmartBoxSemanticSearchSettingsSettings<T> SemanticSearchSettings { get; }

Represents the template for a suggestion in the SmartBox component AI Assistant mode.

C#
public string SuggestionTemplate { get; set; }

The handler that returns the template used for SuggestionTemplate

C#
public string SuggestionTemplateHandler { get; set; }

The id of the script element used for SuggestionTemplate

C#
public string SuggestionTemplateId { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>