Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
625
'Infragistics.Controls.Interactions.Primitives.FormulaEditorCommandSource' is not a valid value for property 'Command'."
posted

I have a very simple example of a XamFormulaEditor (see xaml below) which works absolutely fine in a sample test project but when moved to the main solution the following error is generated:

"'Infragistics.Controls.Interactions.Primitives.FormulaEditorCommandSource' is not a valid value for property 'Command'."

There is no inner exception so I am unable to diagnose the issue. I believe all the required references are in place.

 

<Grid>     

<Grid.Resources>

<ig:XamCalculationManager x:Key="CalculationManager"></ig:XamCalculationManager>

</Grid.Resources>  

<StackPanel>

<TextBox x:Name="a" Width="40"/>

<TextBox x:Name="b" Width="40"/>

<TextBlock x:Name="FormulaString" ig:XamCalculationManager.CalculationManager="{StaticResource CalculationManager}"> 

<ig:XamCalculationManager.ControlSettings>

<ig:ControlCalculationSettings Formula=""/>

</ig:XamCalculationManager.ControlSettings>    

</TextBlock>

<ig:XamFormulaEditor Target="{Binding ElementName=FormulaString}"/>

</StackPanel>

</Grid>