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
280
changing header height in a multiband grid
posted

I want to set the height of the header of a grid to a smaller amount . But I dont find any height property associated to the header itself.

If i change the font size to less than 8.5pt the header height doesnt shrink, but if i set the font size to more than 8.5pt the header height increases with the font size.


 

  • 71886
    Offline posted

    Hello EST_ROTH,

    If I understood your requirements correctly you would like the caption that is initialized above the grid to has smaller font size. If so, I think you could use this approach assuming the WinGrid is called ultraGrid1:

    ultraGrid1.DisplayLayout.CaptionAppearance.FontData.SizeInPoints = 4;

    Please feel free to let me know if something bothers you or you have other requirements.