This is a migrated thread and some comments may be shown as answers.

add items to Carousel on runtime

0 Answers 79 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
ahmed
Top achievements
Rank 1
ahmed asked on 05 Oct 2018, 12:05 PM

I have a picturebox1 and radtextbox1 radbutton1

I show pictures in picturebox1 from file

I need to click radbutton1 to add image from picturebox1 ,and text from radtextbox1 above it and resize image to 8.27 inches width , 11.69 height stretch

I could add the item but the big images appear so big 

I used this code in radbutton1 click event :

 

Image image = pictureBox1.Image;
            RadButtonElement item = new RadButtonElement();
            item.Image = image;
            item.Text = radtextbox1.Text;
            radCarousel1.Items.Add(item);

 

 

No answers yet. Maybe you can help?

Tags
Carousel
Asked by
ahmed
Top achievements
Rank 1
Share this question
or