Skip to main content
All docs
V26.1
  • PromptToExpressionBehavior.EnableInFilterEditor Property

    Gets or sets whether to display the AI prompt control in the Filter Editor. This is a dependency property.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v26.1.dll

    Declaration

    public bool EnableInFilterEditor { get; set; }

    Property Value

    Type Default Description
    Boolean true

    true to display the AI prompt control in the Filter Editor; otherwise, false.

    Remarks

    The following example disables AI prompt integration in the Filter Editor:

    <ThemedWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
                  xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai"
                  xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm">
        <dxg:GridControl ItemsSource="{Binding Employees}">
            <dxmvvm:Interaction.Behaviors>
                <dxai:PromptToExpressionBehavior EnableInFilterEditor="False" />
            </dxmvvm:Interaction.Behaviors>
        </dxg:GridControl>
    </ThemedWindow>
    

    Refer to the following help topic for additional information: Prompt to Expression.

    See Also