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.
Hello,
Thank you for your post. I have been looking into your sample and I modified it, so now it works as you want. Basically I set the DataRecordCellArea’s Style in the ComboBox’ SelectionChnaged event.
Hope this helps you.
This will not solve my problem.I think u got confuse about my problem.What u have sent an example resembles my problem.I want mouse over and selection of the field based on the theme selection in combo box.But in your example Mouse over and selection background brush is same.it is taking generic theme or Aero theme.So plz solve my problem.If i remove that DataRecordCellArea style in resouce file i can solve the problem but if i remove that i won't get border after for each field and height of each record is minimise.If u got any doubt let me know.