I have XamGrid 10.3 and using ConditionalFormatting. I have the style setter to Set the BackgroundProperty and AltBackgroundProperty to Red. However, when I see the grid on Alternating rows it is applying an opacity. I have attached a screen shot. You'll see on alternating rows, either the Red or Green colors are not what I have specified. What am I missing?
Hi,
I'm not really sure whats going on. We don't apply an opacity to the element int he ControLTemplate thats used to display the Alternate Background.
Do you have a custom ControlTemplate applied via a CellStyle?
Also, what kind of CF rules are you using?
-SteveZ
I am using a custom Control Template. So, is there an example of doing custom conditional formatting through a Converter? I cannot remove my custom template. My data already has information on what color it should be, but it is being held in another property. I would like the cell's background to be based off a converter. Below is a sample of my class and data. Is this possible to do?
class Data{ public Decimal UpTarget {get;set;} public String UpTargetColor {get;set;}}
sample data...
50 NA
100 Green
150 Red
I was able to solve my problem using the CellControlAttached event. The trick was the custom style for red or green. Anyway, thanks.