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
935
Setting background with SummaryResultPresenter
posted

I am trying to have a different background color of different columns in the Summary. I am able to set color using the SummaryResultsPresenter but not for the SummaryResultPresenter. I am actually settng the color using a value converter. When I execute the value converter code for the background in the SummaryResultPresenter, nothing happens. I get triggered, but the return value is not used. I also have attempted to directly set the background color using SummaryResultPresenter.

  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.  

  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the SummaryResultPresenter and bound the Value of its Background using a Converter. The color demands on the SummaryResult’s Value, but you can change the condition to fit your scenario. Please let me know if this helps you or you need further clarifications on this matter.

     

    Looking forward for your reply.

    XamDataGrdiSummaryResultBackground.zip