Class ChatSuggestions
This class holds the list of items to be displayed as response to a message.
Inheritance
Implements
Namespace: Syncfusion.XForms.Chat
Assembly: Syncfusion.SfChat.XForms.dll
Syntax
public class ChatSuggestions : BindableObject, IDisposable
Constructors
ChatSuggestions()
Initializes a new instance of the ChatSuggestions class.
Declaration
public ChatSuggestions()
Fields
ItemSpacingProperty
Identifies the ItemSpacing Xamarin.Forms.BindableProperty.
Declaration
public static readonly BindableProperty ItemSpacingProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ItemsProperty
Identifies the Items Xamarin.Forms.BindableProperty.
Declaration
public static readonly BindableProperty ItemsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
OrientationProperty
Identifies the Orientation Xamarin.Forms.BindableProperty.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Items
Gets or sets the list of items to be shown as suggestion in response to a user message.
Declaration
public IList<ISuggestion> Items { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<ISuggestion> |
ItemSpacing
Gets or sets the spacing between two suggestion items.
Declaration
public double ItemSpacing { get; set; }
Property Value
Type |
---|
System.Double |
Orientation
Gets or sets the orientation of the items loaded inside the suggestions control.
Declaration
public SuggestionsOrientation Orientation { get; set; }
Property Value
Type |
---|
SuggestionsOrientation |
Methods
Dispose()
Disposes the managed resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |