Hi. i have added xamdatagrid and i want line for each record for that xamdatagrid.For that i have added style DataRecordcellarea.
<Setter Property="BorderBrush" Value="#EEEEEEEE"/>
<Setter Property="BorderThickness" Value="0,0,0,2"/>
</Style>
i am facing problem in background brush Selected and Mouseover.It is taking default style if i select igtheme or any theme.how can i overcome this problem.How can i write basedon property for that style and can i write in app.xaml.
Hi. I want like this only.But i am using around 100 XamDatagrid.How can i define globally or dynamically in one place so that if i select the theme, it should be applicable to every xamdatagrid.How to use forest green,Wind,Water,lipstick theme.I have added those dll but i am not getting that.I thing u got my problem.Can i add these things in App.Xaml? so that i can apply it globally?
How can i do dynamically style .Plz suggest me by doing dynamically.
Hello again,
As I understand you want to apply the DataRecordCellArea Style for one grid. If that is so, the code I sent you set the Style to a particular XamDataGrid. Please let me know if this is what you want or I have misunderstood your question.
Looking forward for your reply.
Thanks for your help.But small doubt in this.I am using around 100 xamDatagrid.How can i do it for single one.
Hello,
I have been looking into your requirement and I modified the sample I sent you before, so now it has the functionality you want. Basically I used XamlReader class to write my XAML in code behind in order to change it easier. Also I hard coded the Themes in the ComboBox, because some themes are for the XamChart control and there is an exception thrown when you set one of them to the XamDataGrid.
Hope this helps you.