We are using xamFormulaEditor in our silverlight project.
Following are few mentioned issues:
1. Remove existing functions from Function panel: In xamFormulaEditor window we can see “Functions” panel on right bottom side which contains few default list of functions. We don’t want to see all these functions listed but wish to see some of the functions and user defined one. Kindly requesting you to provide a way to remove unwanted functions.
2. Remove Controls tree from Operands panel: In xamFormulaEditor window we can see “Operands” panel on Left bottom side. To make xamFormulaEditor enable, we need to set a target to a control, which appears in disable mode inside “Controls” tree of Operands panel. How we can hide Controls tree? We don’t want to show Control tree in the dialog as we are using named references.
3. Enter Formula Expression Editor TextArea: In xamFormulaEditor window we have predefined operators such as +,-*/,^,%,>,<,=<>. What is the way to add more operators? For example if we want to use “>=”, “<=”, We need to have a button in operator section which will use “>=” operator directly instead of user selecting “>” and ”=” separately. Even if user selects “>”,”=” separately it comes with a space (“ ”) and throws a validation for whitespace between “>” and “=”.
Regards,
Chris F.
Hi Chris,
Let me know if you have any further questions on this matter.
For 1 and 2 please take a look at the following sample: http://ko.infragistics.com/products/silverlight/sample/formula-editor/#/formulaeditordialog-template
3.) You can use the above approach to add an extra button but since there is no operator for GreaterThanOrEquals you won't be able to do the binding the same way. You'd have to handle the button press yourself and add the appropriate symbol to your formula text.