Class AIAssistViewViewBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
AIAssistViewViewBuilder
Namespace: Syncfusion.EJ2.InteractiveChat
Assembly: Syncfusion.EJ2.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
ContentTemplate(Func<Object, Object>)
Declaration
public AIAssistViewViewBuilder ContentTemplate(Func<object, object> template)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Object, System.Object> | template |
Returns
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
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(AssistViewType)
Specifies the type of the assist view.
Declaration
public AIAssistViewViewBuilder Type(AssistViewType type)
Parameters
Type | Name | Description |
---|---|---|
AssistViewType | type |
Returns
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 |