Cannot seem to find any options to change column header cell margin or inner padding, was surprised not to find anything of forums as well, must be too basic?!
Looks likes dgAccounts.DisplayLayout.Override.CellPadding / dgAccounts.DisplayLayout.Bands[0].Override.CellPadding applies to all cells including header cells - that's too weird
Am I missing something?
I need to be able to change the header cell padding so that the filter icon, sort icon and the header caption itself, space out a little bit and are well readable
http://help.infragistics.com/Help/Doc/WinForms/2013.1/CLR4.0/html/Infragistics4.Win.UltraWinSchedule.v13.1~Infragistics.Win.UltraWinSchedule.Owner~HeaderAppearance.html
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraGridLayout~CaptionAppearance.html
Hi Ameya,
The reason you can't find it is because the grid has no such functionality. There is no equivalent header padding like CellPadding.
You could probably achieve what you want using a CreationFilter, though. It depends on eactly what you want to do, though. You can adjust the width of the column to get some extra horizontal space in the column headers. Vertical space would be a bit trickier. You might have to use a RowLayout or set the ColHeaderLines if you need more vertical space.
The CreationFilter could then arrange the UIElements inside the header however you like.
Thanks Mike and you know what, the captionappearance is too smart enough to pad-off the extra spaces if I add any i.e. if I set the column caption to "MyCaption " with 5 extra right trailing spaces, the column header trims it :) .. so yeah.. I am going the CreationFilter route.. thank you again!
And great to see you responding to most of the Infragistics posts! Awesome job!