Skip to main content
All docs
V25.2
  • ReportPromptToExpressionBehavior Class

    Converts natural language into valid expressions.

    Namespace: DevExpress.AIIntegration.WinForms.Reporting

    Assembly: DevExpress.AIIntegration.WinForms.Reporting.v25.2.dll

    NuGet Package: DevExpress.AIIntegration.WinForms.Reporting

    Declaration

    public sealed class ReportPromptToExpressionBehavior :
        ReportDesignerBehaviorBase

    Remarks

    Prompt to Expression converts natural language into valid expressions. Instead of writing complex expressions, users describe the desired logic in plain text.

    The system sends the prompt to the configured AI service, which generates a valid expression. The Expression Editor or Filter Editor displays the result immediately. If Prompt to Expression fails to create a valid expression, it displays a message that informs the user that a valid expression was not generated.

    Prompt to Expression - WinForms Expression and Filter Editors, DevExpress Reports

    Run Demo: Prompt to Expression

    See the following help topic for additional information: Generate Expressions from Prompts (WinForms Report Designer).

    Inheritance

    Object
    DevExpress.Utils.MVVM.BehaviorBase
    DevExpress.Utils.Behaviors.Behavior
    DevExpress.Utils.Behaviors.Behavior<DevExpress.AIIntegration.WinForms.Reporting.Internal.IReportDesignerBehaviorSource>
    DevExpress.AIIntegration.WinForms.Reporting.Internal.ReportDesignerBehaviorBase
    ReportPromptToExpressionBehavior
    See Also