Class InitialPromptSettings
Defines the settings used to configure the initial prompts and page range for AI-assisted document interactions.
Inheritance
Implements
Namespace: Syncfusion.Maui.SmartPdfViewer
Assembly: Syncfusion.Maui.SmartPdfViewer.dll
Syntax
public class InitialPromptSettings : Object, INotifyPropertyChanged
Constructors
InitialPromptSettings()
Declaration
public InitialPromptSettings()
Properties
PageEnd
Gets or sets the ending page number used for generating the document overview or summary.
Declaration
public int PageEnd { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
Only content up to this page is considered.
Examples
PageStart
Gets or sets the starting page number used for generating the document overview or summary.
Declaration
public int PageStart { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Remarks
Only content beginning from this page is considered.
Examples
Prompt
Gets or sets the initial prompt displayed when the Assist View is opened.
Declaration
public string Prompt { get; set; }
Property Value
| Type |
|---|
| System.String |
Remarks
Provides the default query shown to users before interaction begins.
Examples
SuggestedPrompts
Gets or sets a collection of predefined prompts displayed to guide users when opening the Assist View.
Declaration
public string[] SuggestedPrompts { get; set; }
Property Value
| Type |
|---|
| System.String[] |
Remarks
Suggested prompts help users quickly explore AI capabilities.
Methods
OnPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName | The name of the changed property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |