Help with Documentation and "Image"

3 posts, 0 answers
  1. Craig
    Craig avatar
    7 posts
    Member since:
    Jun 2009

    Posted 30 Nov 2014 Link to this post

    In the documentation over at ( we find the following snippet at the bottom when discussing how to add images to the carousel.  I'm sure this looks fine to you but where/what is "Image"?

    List<Image> myImages = new List<Image>();
    Image myImage = new Image();
    myImage.Source = new BitmapImage(new Uri("/Images/nature1.jpg", UriKind.Relative));
    myImage.Height = 200;
    myImage.Width = 200;

    The only image I can find is System.Drawing.Image and that ain't it.  All that displays is a text block detailing the image's properties.  At least is displays something.

    I have found vague references to this being a "UI Element" whatever that is.  I've been all over these forums, stackoverflow and the web in general, what am I missing here?
  2. Boris
    Boris avatar
    276 posts

    Posted 01 Dec 2014 Link to this post

    Hi Craig,

    The Image class actually refers to System.Windows.Controls.Image and to use it you will need to add the following using:

    using System.Windows.Controls;

    I attached a sample project that demonstrates the approach from the "Display Images in RadCarousel" section of the Getting Started article.

    On a side note for more information on what is an UI element you can check the UI Element Class msdn article.

    I hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Tony
    Tony avatar
    24 posts
    Member since:
    Sep 2014

    Posted 30 Jan 2015 Link to this post

    Boris your sample app was very helpful as I was searching for something similar to Craig's question. I seriously get aggravated with some of the document for these tools. There are many glaring oversights (assumptions) that leave me really confused.

    Thanks again!

Back to Top