Class PromptItem
Represents a predefined prompt displayed in the prompt library.
Inheritance
System.Object
PromptItem
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class PromptItem : BindableObject
Constructors
PromptItem()
Initializes a new instance of the PromptItem class.
Declaration
public PromptItem()
Fields
ContentProperty
Identifies the Content bindable property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
DescriptionProperty
Identifies the Description bindable property.
Declaration
public static readonly BindableProperty DescriptionProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
SectionProperty
Identifies the Category bindable property.
Declaration
public static readonly BindableProperty SectionProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
TitleProperty
Identifies the Title bindable property.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
TopicProperty
Identifies the Topic bindable property.
Declaration
public static readonly BindableProperty TopicProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
VersionProperty
Identifies the Version bindable property.
Declaration
public static readonly BindableProperty VersionProperty
Field Value
| Type |
|---|
| Microsoft.Maui.Controls.BindableProperty |
Properties
Description
Gets or sets the description of the prompt.
Declaration
public string Description { get; set; }
Property Value
| Type |
|---|
| System.String |
PromptContent
Gets or sets the content of the prompt that is inserted or submitted when the prompt is selected.
Declaration
public string PromptContent { get; set; }
Property Value
| Type |
|---|
| System.String |
Section
Gets or sets the section used to organize related topics in the prompt library.
Declaration
public string Section { get; set; }
Property Value
| Type |
|---|
| System.String |
Title
Gets or sets the title of the prompt.
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| System.String |
Topic
Gets or sets the topic to which the prompt belongs.
Declaration
public string Topic { get; set; }
Property Value
| Type |
|---|
| System.String |
Version
Gets or sets the version of the prompt.
Declaration
public string Version { get; set; }
Property Value
| Type |
|---|
| System.String |