windowsforms-devexpress-dot-aiintegration-dot-winforms-499d3b91.md
Converts natural language into valid filter and unbound column expressions for data-aware WinForms controls.
Namespace : DevExpress.AIIntegration.WinForms
Assembly : DevExpress.AIIntegration.WinForms.v25.2.dll
NuGet Package : DevExpress.AIIntegration.WinForms
public sealed class PromptToExpressionBehavior :
Behavior<IPromptToExpressionBehaviorSource>,
IAIExpressionEditorCustomization
Public NotInheritable Class PromptToExpressionBehavior
Inherits Behavior(Of IPromptToExpressionBehaviorSource)
Implements IAIExpressionEditorCustomization
Prompt to Expression converts natural language into valid filter and unbound column expressions for data-aware WinForms controls. 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 for the control. The Expression Editor or Filter Editor immediately displays and validates the result immediately.
Run Demo: Prompt to Expression
To attach the Prompt to Expression Behavior to a control, do the following:
PromptToExpressionBehavior, configure its settings, and attach the behavior to a DevExpress UI control (GridControl, VGridControl, or TreeList). You can do this at design time or in code:See the following help topic for more information: Prompt to Expression.
Object DevExpress.Utils.MVVM.BehaviorBase DevExpress.Utils.Behaviors.Behavior DevExpress.Utils.Behaviors.Behavior<DevExpress.AIIntegration.WinForms.IPromptToExpressionBehaviorSource> PromptToExpressionBehavior
See Also