Class PromptItem
Represents a predefined prompt displayed in the prompt library.
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 |
|---|
| BindableProperty |
DescriptionProperty
Identifies the Description bindable property.
Declaration
public static readonly BindableProperty DescriptionProperty
Field Value
| Type |
|---|
| BindableProperty |
SectionProperty
Identifies the Category bindable property.
Declaration
public static readonly BindableProperty SectionProperty
Field Value
| Type |
|---|
| BindableProperty |
TitleProperty
Identifies the Title bindable property.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
| Type |
|---|
| BindableProperty |
TopicProperty
Identifies the Topic bindable property.
Declaration
public static readonly BindableProperty TopicProperty
Field Value
| Type |
|---|
| BindableProperty |
VersionProperty
Identifies the Version bindable property.
Declaration
public static readonly BindableProperty VersionProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
Description
Gets or sets the description of the prompt.
Declaration
public string Description { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|
| 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 |
|---|
| string |
Title
Gets or sets the title of the prompt.
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| string |
Topic
Gets or sets the topic to which the prompt belongs.
Declaration
public string Topic { get; set; }
Property Value
| Type |
|---|
| string |
Version
Gets or sets the version of the prompt.
Declaration
public string Version { get; set; }
Property Value
| Type |
|---|
| string |