Hello Support,
We are using Xamdatagrid, we want to change the expansion indicator of the grid. We want the indicator similar to the default expansion indicator on the XamGrid. So please let us know is it possible to change the expansion indicator of the Xamdatagrid.
Hello,
Thank you for your post. I have been looking into you requirement and I created a sample project for you with the functionality you want. Basically I copied the default Style of the ExpansionIndicator and change its Template with the Path from the XamGrid’s ExpansionIndicator. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
That works great.
Thanks a ton Stefan !!!
Hello Adithya,
I have modified the sample I uploaded before, so now it has Image instead of Path for expansion indicator. Please let me know if this helps you or you need further assistance on this matter.
I use Silverlight 5 can you please modify this code to pick up SL5 dll's
I use a xamgrid
I have created a new sample which is for XamGrid built on SL5. Please let me know if it helps you or you need further assistance on this matter.
Hi,
When I apply the above style directly to a sample code, it works perfectly fine :-)
But in one specific case of my code, all the styles for the grid is set in a common resource XAML in Project A and the style is picked up in another XAML in Project B (which contains the actual grid). In my common resource XAML, if I set the Image Source="xxx.jpg", the image file does not get loaded. I added the image directly as a file to Project A; tried to set the property of the file as "content" and "resource", this does not work either. How do I go about doing this?
Thanks a ton in advance!
Hello Madhumitha,
I have modified teh sample I sent yo ubefore following your scenario, but instead of Content or Resource, I set the Image's Built Action to Embeded Resource.
Hope this heslp you.