Class AIAssistViewViewBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
AIAssistViewViewBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.InteractiveChat
Assembly: Syncfusion.AspNetMvc.InteractiveChat.dll
Syntax
public class AIAssistViewViewBuilder : ControlBuilder
Constructors
AIAssistViewViewBuilder()
Declaration
public AIAssistViewViewBuilder()
AIAssistViewViewBuilder(List<AIAssistViewView>)
Declaration
public AIAssistViewViewBuilder(List<AIAssistViewView> collection)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<AIAssistViewView> | collection |
Methods
Add()
Declaration
public void Add()
ContentTemplate(Action<Object>)
Declaration
public AIAssistViewViewBuilder ContentTemplate(Action<object> template)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<System.Object> | template |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |
ContentTemplate(Func<Object, Object>)
Declaration
public AIAssistViewViewBuilder ContentTemplate(Func<object, object> template)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Func<System.Object, System.Object> | template |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |
IconCss(String)
Specifies the icon CSS for the assist view. Represents the CSS class for the icon of the assist view.
Declaration
public AIAssistViewViewBuilder IconCss(string iconCss)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | iconCss |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |
Name(String)
Specifies the name of the assist view. Represents the name displayed in the assist view.
Declaration
public AIAssistViewViewBuilder Name(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |
Type(AssistViewType)
Specifies the type of the assist view.
Declaration
public AIAssistViewViewBuilder Type(AssistViewType type)
Parameters
| Type | Name | Description |
|---|---|---|
| AssistViewType | type |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |
ViewTemplate(String)
Specifies the template for the view of the assist view. Represents the template for rendering the view, which can be a string or a function.
Declaration
public AIAssistViewViewBuilder ViewTemplate(string viewTemplate)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | viewTemplate |
Returns
| Type |
|---|
| AIAssistViewViewBuilder |