Trouble with image scaling in grid column header

When setting an image on a column header (for instance to show sort direction), the image is being scaled larger than it is. Currently using an image list and setting an image index. How do you tell the grid to display the image in the header cell as its actual dimensions?

1 Reply

AD Administrator Syncfusion Team September 9, 2004 06:06 PM UTC

Try explicitly setting the ImageList.ImageSize. ImageList il = new ImageList(); il.Images.Add(SystemIcons.Hand.ToBitmap()); il.ImageSize = new Size(10,10); this.gridControl1[0,2].ImageIndex = 0; this.gridControl1[0,2].ImageList = il; this.gridControl1[0,2].CellType = "Static";

Loader.
Up arrow icon