Dear all,
I have the ultragrid1 which will show image as backgroup when there is no record using below code. How to make the header invisble as shown below picture??
Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); appearance1.BackColor = System.Drawing.Color.Transparent; appearance1.ImageBackground = System.Drawing.Image.FromFile(this.imagePath + imageName); this.ultraGrid1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.ultraGrid1.DisplayLayout.Appearance = appearance1; this.ultraGrid1.DisplayLayout.Bands[0].HeaderVisible = false;
Hello,
In the provdied image I think that the only visible headers are column headers. So if your goal is the hide them you could use the following line of code in addition to your code:
ultraGrid1.DisplayLayout.Bands[0].ColHeadersVisible = false;
Please let me know if that is not what you are looking for.