SpreadsheetAIModel
Class
View model for managing AI-powered chat messages for a spreadsheet.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.AI
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
C#
public class SpreadsheetAIModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseSpreadsheetAIModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the SpreadsheetAIModel class.
C#
public SpreadsheetAIModel(RadSpreadsheet spreadsheet)
The RadSpreadsheet instance to interact with.
Properties
Gets the command used to cancel the current AI request.
C#
public DelegateCommand CancelCurrentRequestCommand { get; }
Gets or sets the current author for the next message.
C#
public Author CurrentAuthor { get; set; }
Gets or sets the watermark content displayed in the chat input box.
C#
public string InputBoxWatermarkContent { get; set; }
Gets the collection of messages in the chat.
C#
public ObservableCollection<MessageModel> Messages { get; set; }
Gets the command used to send a message.
C#
public DelegateCommand SendMessageCommand { get; }
Gets or sets a value indicating whether the typing indicator should be displayed.
C#
public bool ShowTypingIndicator { get; set; }