Imagelist

4 posts, 0 answers
  1. Paul
    Paul avatar
    25 posts
    Member since:
    Jul 2010

    Posted 16 Mar 2011 Link to this post

    Hi

    I cannot seem to find a property on any of the command bar elements to associate it with an "imagelist". Am I missing something or can you not do this ?

    I know you can add images directly but I want to use an imagelist to control the size of the images.

    Thanks in advance.


    Paul.
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 16 Mar 2011 Link to this post

    Hi Paul,

    As far as I know, you are correct. You can set an image for one of the elements (e.g. CommandBarButton) from an ImageList but the CommandBarButton itself does not contain an imagelist property.

    Regards,
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Paul
    Paul avatar
    25 posts
    Member since:
    Jul 2010

    Posted 17 Mar 2011 Link to this post

    Hi

    I can confirm that this issue has been corrected in the Q1 2011 release.

    Many thanks


    Paul.
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 18 Mar 2011 Link to this post

    Hi Paul,

    Thank you for your question.

    There is an ImageList property, so please make sure you have selected the RadCommandBar control, not some of its elements:
    this.radCommandBar1.ImageList = this.imageList1;

    If you are setting it at design time, please check the drop-down list above the property grid in Visual Studio to ensure that you have selected a RadCommandBar control.

    I hope this will help you. If you need further help, do not hesitate to write back.

    Kind regards,
    Ivan Todorov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top