I want to do custom style for the XamDataGrid
+ Group 1- Group 2 > Item 1 > Item 2 > Item 3+ Group 3
Styling:1. Choose custom image for + and - for collapse and expanded group 2. Background for group in Yellow (GroupByRecordPresenter color by default)3. When i select group the color should change for the selected group to blue(GroupByRecordPresenter color on selection)4. When I select Item the color should change to blue. (DataRecordPresenter color on selection)
Can you tell what are the property or style element for XamDataGrid to achieve following: Collapsed/Expand image on group and group/item color on selection
thanks
Hello Jasvinder,
I am glad that my solutions was helpful to you. Please do not hesitate to contact us if you have any further questions.
I have been investigating your issue. After the investigation I have created a small sample for you, named xamDataGridStyling. In the sample I set a style for the GroupByRecordPresenter. In the style I change the color for the RecordContent_Site, which displays the groups. In order to change the color for the selected item I set the RecordSelector, which default color for selecting the record is blue.
Please find the attached sample and feel free to let me know if you have any further questions on the mater.