Hi i have a requirement where if the XamGrid cell value Increases/Decreases by some specific value(which user has set in settings and this is loaded dynamically ) a popup message should be displayed.
you have the greaterthan and lessthan conditional formatting rule but they have only style to apply property.
how can i achieve this?
Hi,
Conditional formatting is meant for styling cells based off of their value.
If you want to perform actions based off of values, you have a couple of options.
1. If you only want to perform actions for cells that are in view. Then you can simply use the CellControlAttached event. It'll fire whenever a cell comes into view, and if the underlying data implements INotifyPropertyChanged and the propertyChanged event is raised for the cell, it will be raised when the value changes.
2. If you want to perform an action whenever your data changes, whether it's in view or not. Then you're better off hooking into the INotifyPropertyChanged event on your data, and handling it yourself.
I hope this helps,
-SteveZ