Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Text alignment of header

Hi, I'm using a xamdatagrid in a wpf project. How do I change at runtime the alignment (vertical: top, middle, bottom - Horizontal: right, center, left) of text in the column headers? I also need to set a different alignment for each column.

Thanks, Maria