How can we style the border that separates the column header and the datagrid content? I want to remove the borders from the column header buttons and have a single line that spans for both the buttons and the header bar.
Hello,
Thank you for your post. I have been looking into your request and I have re-templated the default style for the ‘LabelPresenter’ in order to remove the border lines. You can find the default style in :
C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\DataPresenter\DataPresenterGeneric_Express.xaml
I am attaching a sample application that I have used to achieve the desired appearance. Would you please attach a descriptive screenshot of the line that you would like to be left ?
Looking forward to hearing from you.
I attached a screenshot. I removed the border line from the LabelPresenter (column header buttons) and I want to create a single border line that spans below the buttons and the column header bar.
The best approach that I can suggest you is to set ‘BorderThickness’ of the ‘background’ border in the LabelPresenter style to “0,0,0,1”.
If you need any further assistance on this matter, do not hesitate to ask.
I am just checking if you require any further assistance on the matter.