Hi,
How do I set the column header to only show an image? It is currently showing the image and text. I know other controls have some style property to set this, but I haven't found a property to do this for the grid column header.
thanks
Mario
Hello Mario,
You could achieve this with the following code sample:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns[0].Header.Appearance.Image = SystemIcons.Asterisk.ToBitmap(); e.Layout.Bands[0].Columns[0].Header.Caption = ""; }
Please feel free to let me know if a question about our toolset comes up on your mind.
Hi Boris,
Works great! thanks