We want to buy your product so we try it now to see if it's feet us.
we want a carousel with images,The images will be added in runtime
here is my code:
--------------------------------------------------------------------------------------------------------------------------------------------
RadButtonElement
radB = new RadButtonElement();
Image Image = SaveBitmap(f); //My Faunction which returns an image
radB.CanFocus =
true;
radB.DisplayStyle = Telerik.WinControls.
DisplayStyle.Image;
radB.Image = Image;
radB.Name =
"radButtonElement";
radB.Text =
"radButtonElement";
((Telerik.WinControls.Primitives.
FillPrimitive)(radB.GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
((Telerik.WinControls.Primitives.
BorderPrimitive)(radB.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;
this.leoSchachterCarousel1.Items.Add(radB);
---------------------------------------------------------------------------------------------------------------------------------------
the Problem Is that the Image is to big and when I set it smaller it is cut...
how can I set an AutoSize and Stretch Image to RadButtonElement ?
Thank You,