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
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | true |
|
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