DataGrid and FixedDocument

Aug 15, 2009 at 8:57 PM

I have a DataGrid in FixedDocument:

<FixedDocument>
     <PageContent>
          <FixedPage>
               <dg:DataGrid Name="dataGrid" ... />
          </FixedPage>
     </PageContent>
</FixedDocument>
as

Everything works OK, except DataGridColumnHeader is always the same (style is not implemented).
I tried with control template too, but without success.
How to change DataGridColumnHeader style on FixedDocument page?

Thanks for help in advance!

Aug 15, 2009 at 9:34 PM

I have already found out what is wrong.

Style has to be implemented in Grid resources, not in window resources.