Hi.
I am filling a listcontrol by using the following code :
but, only top portition of every item image is show in listcontrol, I mean I cant see the whole image associated with item in the list.
Would you help me please ?
I am filling a listcontrol by using the following code :
public
static
List<RadListDataItem> GetItems()
{
List<RadListDataItem> items =
new
List<RadListDataItem>();
for
(
int
i = 1; i <= 10; i++)
{
RadListDataItem toadd =
new
RadListDataItem();
toadd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
toadd.Text =
"sssssssssss"
;
//toadd.Image.
string
imagename =
"MyProject.SuIcons.d"
+ i +
".JPG"
;
toadd.Image =
new
Bitmap(Assembly.GetExecutingAssembly().
GetManifestResourceStream(imagename));
items.Add(toadd);
}
return
items;
}
but, only top portition of every item image is show in listcontrol, I mean I cant see the whole image associated with item in the list.
Would you help me please ?