Hi,
I need to show a border around the cell when a certain condition meets a criteria, is this is possible? Using ConditionalFormattingCellControl.BackgroundProperty, I see I can set background colors via various brushes, but how can I create border around a cell? Any ideas?
Thanks
Please note I am using TextColumn and I am showing a "number" (Double type) on such column with custom formatting (FormatString) so only few decimal precision could be rendered on this column. Can I use template column in such case where if a condition meets it shows a border keeping the format string working?
Hello Rohit,
Thank you for your post. I have been looking into it. You can use the default style for the CellControl and bind the BorderBrush property of the CellControl to a property from your ViewModel for example. Please node, that you have to change the value of the BorderThickness property to ‘1,1,1,1’, in order for the border to appear.
Since you have mentioned that you are using some custom formatting, would you please provide us a small sample application, that shows the functionality you are using, in order for us to be able to further research the issue and provide you with further support.
Would you please also further explain on what condition you want to set the change the color of the border?
Thank you in advance for the provided information. Looking forward to hearing from you.