This question may belong in a different WinForms controls forum. If so, I apologize.
Ultimately, I am wanting to show a carousel full of RadGridViews, but for performance's sake I am converting the RadGridView's into RadImageItems to be loaded into the carousel.
I'd like to be able to put a label above the RadGridView as a title for the grid. So far I've tried adding a RadLabel and RadGridView to a RadItemsContainer, and then using the "GetAsBitmap" function to no avail.
(rl = previously declared RadLabel, grid = previously declared RadGridView)
Thanks,
Rob
Ultimately, I am wanting to show a carousel full of RadGridViews, but for performance's sake I am converting the RadGridView's into RadImageItems to be loaded into the carousel.
I'd like to be able to put a label above the RadGridView as a title for the grid. So far I've tried adding a RadLabel and RadGridView to a RadItemsContainer, and then using the "GetAsBitmap" function to no avail.
RadImageItem image1 =
new
RadImageItem();
image1.Image = rl.RootElement.GetAsBitmap(Brushes.White, 0,
new
SizeF(1, 1));
rl.RootElement.GetAsBitmap(Brushes.White, 0,
new
SizeF(1, 1));
RadImageItem image2 =
new
RadImageItem();
image2.Image = grid.RootElement.GetAsBitmap(Brushes.White, 0,
new
SizeF(1, 1));
RadItemsContainer ric =
new
RadItemsContainer();
ric.Items.Add(image1);
ric.Items.Add(image2);
RadImageItem image3 =
new
RadImageItem();
image3.Image = ric.GetAsBitmap(Brushes.White, 0,
new
SizeF(1, 1));
image3.ImageKey = imageKey;
(rl = previously declared RadLabel, grid = previously declared RadGridView)
Thanks,
Rob