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
225
multi-line header text
posted

I'm using NetAdvantage Win Client 2008 Vol 3.

I have read through the help files and the WinGrid forum and tried the code suggested; however, I am not able to control specifically where the line break occurs.  The only method that does give me multi-lined header captions is to set the WrapHeaderText property to true and supply enough spaces between text to hopefully get the wrap to occur where I desire.

Examples of what I have tried:

In Code...

       UltraGridBand band = this.gridSelect.DisplayLayout.Bands[0];
       band.Columns[0].Header.Caption = "Federal" + Environment.NewLine + "RUG";

and Designer

Header | Caption = Federal\nRUG

Is there a trick I am missing?

Thx,