Hello,I nedd a two line column header caption (WinGrid).
string text = "speed [kmh/mph]"; The caption from the column header should look:
speed [kmh/mph]
column.Header.Caption = column.Header.Caption.Replace("x", "speed [kmh/mph");
What I must change?
Alexander
Hello Alexander,
All you have to do is setting the following:
column.Header.Caption = "Speed" + Environment.NewLine + "[kmh/mph]";
Please let me know if this works for you.
Hello Danko,
it's works very well.
But the height from the caption header is too low. So I can not see the upper and lower line complete.
How can I change the height from all columns header and not for each column individually?
(gridLayout.Bands[0].Header.Height is read only)
I have found the solution:
gridLayout.Bands[0].ColHeaderLines = 2;