Hi
I want to define style for column Header of XamDataGrid with following
Header Background color, foreground color , alignment, fontsize, sorting etc.
For above effect, I have used
DataRecordPresenter and LabelPresenter
But from below style, I get unexpected result i.e. whitespaces between 2 columns
Thanks
Hello Samir,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it and the code you have provided and I suggest you remove the LabelPresenter’s Setter for HorizontalAlignment and instead of it set the XamDataGrid’s FieldSettings’ LabelTextAlignment Property to Center. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.