alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AssistViewSettings

    Represents the AI Assist View settings for SmartPdfViewer.

    Inheritance
    object
    AssistViewSettings
    Implements
    INotifyPropertyChanged
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.SmartPdfViewer
    Assembly: Syncfusion.Maui.SmartPdfViewer.dll
    Syntax
    public class AssistViewSettings : INotifyPropertyChanged

    Constructors

    AssistViewSettings()

    Declaration
    public AssistViewSettings()

    Properties

    InitialPromptSettings

    Gets or sets the settings used to configure the initial behavior of the Assist View, including the initial prompt, suggested prompts, and document scope used for overview generation.

    Declaration
    public InitialPromptSettings InitialPromptSettings { get; set; }
    Property Value
    Type
    InitialPromptSettings

    IsEnabled

    Gets or sets a value indicating whether the Assist View feature is available in the PDF Viewer.

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type
    bool
    Remarks

    When set to false, the Assist View UI and related AI interactions are disabled.

    Examples

    MaxRetryAttempts

    Gets or sets the maximum number of retry attempts for failed AI requests.

    Declaration
    public int MaxRetryAttempts { get; set; }
    Property Value
    Type
    int
    Remarks

    Retries are performed automatically until the limit is reached.

    Examples

    MinimumDocumentLength

    Gets or sets the minimum number of characters required in a document before AI processing is enabled.

    Declaration
    public int MinimumDocumentLength { get; set; }
    Property Value
    Type
    int
    Examples

    PdfViewerAssistViewTemplates

    Gets or sets the collection of templates used to customize Assist View UI elements, such as the banner displayed at the top of the Assist View panel.

    Declaration
    public PdfViewerAssistViewTemplates PdfViewerAssistViewTemplates { get; set; }
    Property Value
    Type
    PdfViewerAssistViewTemplates

    Placeholder

    Gets or sets the placeholder text displayed in the Assist View input area.

    Declaration
    public string Placeholder { get; set; }
    Property Value
    Type
    string
    Remarks

    Used to provide guidance about the expected input format.

    Examples

    Prompt

    Gets or sets the prompt used to guide AI-generated responses within the Assist View.

    Declaration
    public string Prompt { get; set; }
    Property Value
    Type
    string
    Remarks

    The prompt can be dynamically modified during runtime.

    Examples

    ShowPromptSuggestions

    Gets or sets a value indicating whether prompt suggestions are displayed in the Assist View panel.

    Declaration
    public bool ShowPromptSuggestions { get; set; }
    Property Value
    Type
    bool
    Examples

    StreamResponse

    Gets or sets a value indicating whether AI responses are streamed incrementally to the user.

    Declaration
    public bool StreamResponse { get; set; }
    Property Value
    Type
    bool
    Remarks

    When enabled, users can view generated content in real time as it is received.

    Examples

    Timeout

    Gets or sets the maximum duration, in seconds, to wait for an AI response.

    Declaration
    public int Timeout { get; set; }
    Property Value
    Type
    int
    Remarks

    Requests exceeding the timeout period are automatically cancelled.

    Examples

    Methods

    OnPropertyChanged(string?)

    Raises the PropertyChanged event.

    Declaration
    protected virtual void OnPropertyChanged(string? propertyName = null)
    Parameters
    Type Name Description
    string propertyName

    The name of the changed property.

    Events

    PromptChanged

    Occurs when the prompt text is modified by the user.

    Declaration
    public event EventHandler<string>? PromptChanged
    Event Type
    Type
    EventHandler<string>
    Remarks

    Allows applications to monitor and react to prompt changes.

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler? PropertyChanged
    Event Type
    Type
    PropertyChangedEventHandler

    Implements

    INotifyPropertyChanged
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved