I need to make selected xamGrid cell blinks red color based on some data conditions. I need this in code using storyboard. Please help.
Thanks
Thanks.
Hello,
The Storyboards inside the template of the CellControl are used for the VusialStates in order to achieve different appearance of the CellControl under different conditions. For example when a cell is selected it changes its background and its border brush.
I have modified the sample application to use the default style for the CellControl from version 9.2 and also added a Button control and in its Click event I play an animation which forces the Background of the selected cell to blink if the value of the cell contains “1”.
If you need any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks Krasimir. I am using v 9.2 and maybe have different result then yours. Also, I have a couple questions:
1. What is storyboard inside in xaml for?
2. I add button and want one cell blinks on click event. How do I do that?
I have created a sample application that demonstrates an approach for implementing the functionality that you are looking for. In order to do that I used the default style for the cell control in order to animate the brush that is responsible for the active appearance of the cell. The animation is created in code in XamGrid’s AcriveCellChanged event.