Dear All
We are using a theme to restyle the GridView. We had it looking great in our app before we incorporated the service pack, but now certain things have changed and it looks as if parts of the style for GridViewHeaderCell objects in the header are not being honoured.
In particular, we have this in the ControlTemplate:
We are using a theme to restyle the GridView. We had it looking great in our app before we incorporated the service pack, but now certain things have changed and it looks as if parts of the style for GridViewHeaderCell objects in the header are not being honoured.
In particular, we have this in the ControlTemplate:
<
ContentPresenter Margin="7,4"
HorizontalAlignment="Left"
.../>
-------------
When we use Snoop to look at the resulting visual tree, neither the margin nor the alignment are set to these values. They are "0" and "Center" respectively and their source is given as "ParentTemplate". I had to resort to setting a margin on GridViewHeaderCell to get the previous appearance and I can't find a way of getting Left alignment on the header text.
Is the GridView setting these programmatically? If we had the source for the service pack, we could track this down ourselves.
Thanks for your help
Chris