alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PromptComposingEventArgs

    Provides data for the PromptComposing event.

    Inheritance
    System.Object
    PromptComposingEventArgs
    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public class PromptComposingEventArgs : EventArgs
    Remarks

    The event is raised before an AI request is sent, allowing developers to inspect the fully composed prompt and the enabled prompt parts that compose it. The properties in this event args are read-only to prevent accidental modifications.

    Properties

    ComposedPrompt

    Gets the fully composed prompt string.

    Declaration
    public string ComposedPrompt { get; }
    Property Value
    Type
    System.String
    Remarks

    This is the final prompt that will be sent to the AI backend. It includes all enabled system prompts, context prompts, prompt parts, and the user input combined with newline delimiters.

    Parts

    Gets a read-only list of the enabled prompt parts in composition order.

    Declaration
    public IList<AssistPromptPart> Parts { get; }
    Property Value
    Type
    System.Collections.Generic.IList<AssistPromptPart>
    Remarks

    This list contains all prompt parts from PromptParts that were enabled (IsEnabled = true) and sorted by their Order property. Disabled parts are excluded.

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