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
120
Disable the sort icon and center align the column header text
posted

Spent last hour researching this, but unable to do this. 

I'm trying to center align the column header text, but it seems to be left justified. 

Over the forum they mentioned to disable the sort icon indicator, but I'm not sure how to do this in the xaml. I know that I need to set the LabelPresenter style, but what 'Property' should I set. 

Kindly help

                <igDP:XamDataGrid.Resources>

                    <Style TargetType="{x:Type igDP:LabelPresenter}" >

                    </Style>

                </igDP:XamDataGrid.Resources>