wpf-devexpress-dot-aiintegration-dot-wpf-f9a1848c.md
Generates a detailed explanation of the formula used in a worksheet cell (which clarifies its purpose and function).
Namespace : DevExpress.AIIntegration.Wpf
Assembly : DevExpress.AIIntegration.Wpf.v25.2.dll
NuGet Package : DevExpress.AIIntegration.Wpf
public class ExplainFormulaBehavior :
TextModificationBehavior
Public Class ExplainFormulaBehavior
Inherits TextModificationBehavior
To enable the “Explain Formula” functionality in a DevExpress WPF Spreadsheet control, add mvvm and ai namespaces to the Window and attach ExplainFormulaBehavior to the Spreadsheet control:
<dx:ThemedWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxsps="http://schemas.devexpress.com/winfx/2008/xaml/spreadsheet"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai"
x:Class="AIAssistant.MainWindow"
Title="MainWindow" Height="800" Width="800">
<Grid>
<dxsps:SpreadsheetControl CommandBarStyle="Ribbon" ShowStatusBar="True" ShowFormulaBar="True">
<dxmvvm:Interaction.Behaviors>
<dxai:ExplainFormulaBehavior x:Name="ExplainFormula"/>
</dxmvvm:Interaction.Behaviors>
</dxsps:SpreadsheetControl>
</Grid>
</dx:ThemedWindow>
Read the following class description for additional information: ExplainFormulaBehavior Class.
Show 12 items
Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<DependencyObject> DevExpress.AIIntegration.Wpf.Internal.AIBehavior DevExpress.AIIntegration.Wpf.Internal.TextBehaviorBase<DevExpress.AIIntegration.Wpf.Internal.ITextModificationBehaviorSource, DevExpress.AIIntegration.Wpf.Internal.CustomRequestViewModel> TextModificationBehavior ExplainFormulaBehavior
See Also