Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1230
XamGrid - Setting styles on active row
posted

I have read other posts and tried what was suggested.  I get an exception "Cannot resolve Targetname" which I assume is the Storyboard.Targetname="ActiveSelected".

Not sure what I am doing wrong.  I have a simple sample.

  • 30945
    Verified Answer
    Offline posted

    Hello,

     

    I have been looking into your sample application and it seems that you have removed a Border with x:Name equals to ActiveSelected from the style for CellControl. When a cell becomes active a Storyboard is played. This Storyboard changes the ActiveSelected Background to Yellow in your application. The error that you are receiving is because the Storyboard cannot find the ActiveSelected Boarder in order to apply the different Background to it. I have modified the sample application that you have attached in order to avoid this error, by adding the ActiveSelected Border to the template for the CellControl.

     

    If you need any further assistance please do not hesitate to ask.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    SilverXamGrid_1.zip