Hi,
I am trying to have a record seprator in my data grid which only seprator a set of records similar in record fixing but I dont want to fix my records while scrolling. I only want to have a seprator which distinguish my set of records for example I have 10 records I want to separate my records with a line 3 records in a set and a seprator 5 records then seprator 2 records and a seprator.
1
2
3
--------------------
4
5
6
7
8
----------
9
10
Any help ill be appriciated .
Thanks.
Hello,
One way would be to create a top or bottom border of the data record presenter that you wish to separate. You can also add a margin or event retemplate the DataRecordpresenter. In order to make this conditionally funtional, you can use IValueConverter and apply this border to only specific DataRecordPresenters
Hi Alex,
Thanks for your suggesting solution to my probplem. I did in the same way but now I am getting some abnormal behaviour some times but not frequently. The problem is that on my datatrigger as code given bellow its working fine but at times the border appear againt some other record instead of the place I am trying to disply. This problem apears at times not every time when grid has scroll bar and while scrolling. I think it could be redrawing isse. But can you please suggest a proper solution in this regard.
HI Alex,
Thanks for your quick reply and for the solution yes its working fine bellow is my code for datarecord template
}">
>
="20">
="0,10,0,0"/>
="Template">
="10,0,10,0">
="20" />
Regards,
Saqib.