Hallo,
i have a grid with 2 group by Fields. I need a image in the first GroupByRecord-Template. How can i overwrite only the PART_RecordContentSite template for this Element?
Thanks
Jan
Jan,
If you want to put an image in the group-by record, you can retemplate the GroupByRecordPresenter and put the image there (you can find the full style in the defautlstyles directory). To change the image, you have to traverse the visual tree of the application and find this image and change its Source property. Is that what you are trying to achieve?
The GroupByRecordPresenter-ControlTemplate is very large an very complex. Is there any way to overwrite only the Content in den ContentControl the Grid 'PART_RecordContentSite'?
The current content is:
{Binding Path=Description, RelativeSource={RelativeSource TemplatedParent}}
But i need as content a stackpanel with an image and textblock. Thanks.