Hello,
I'm trying to reduce the amount of excess space around my header labels of my XamDataGrid. I've tried setting the padding value to {0,0,0,0} at the XamTextEditor, HeaderLabelArea, and HeaderPresenter levels with no success. Has anyone been successful at removing the padding between header labels.
Check out the picture of the grid at the bottom of this link. The header labels of the XamDataGrid are clearly spaced apart. I'd like to remove that space/padding entirely.
http://help.infragistics.com/Help/NetAdvantage/WPF/2007.2/CLR3.X/html/xamDataGrid_Changing_the_Default_Column_and_Row_Definitions.html
Thanks in advance,
Daniel
Hello Daniel,
Thank you for your post. I have been looking through it and I attached a sample project with the UI you want to achieve. Basically, it has a style for the LabelPresenter, which overrides the one used in the Generic theme, which is used in the link you provided. You can read more about styling and theming here:
http://blogs.infragistics.com/blogs/andrew_smith/archive/2009/12/09/common-style-issues-when-using-the-theme-property.aspx
Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.
If you have any further questions on this matter do not hesitate to ask.