RadListView list items horizontally

5 posts, 1 answers
  1. Ervis
    Ervis avatar
    5 posts
    Member since:
    Oct 2012

    Posted 05 Nov 2012 Link to this post

    Hi

    I have a radlistview being populated manually in iconview mode. However when the list has more items then the display area it automatically creates new rows therefore the scrolling happens vertically.

    I am sure there is a way to change it so items go in one row and the scrolling is horizontal but so far I have to failed to find it.

    Any help would be appreciated.
  2. Answer
    Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 07 Nov 2012 Link to this post

    Hi Ervis,

    Thank you for writing.

    You can use the Orientation property of the IconsListViewElement to control the flow direction of the items in the list view. Here is an example:
    this.radListView1.ViewType = ListViewType.IconsView;
    ((IconListViewElement)this.radListView1.ListViewElement.ViewElement).Orientation = Orientation.Horizontal;

    I hope this will be useful. Should you have further questions, I would be glad to help.
     
    Regards,
    Ivan Petrov
    the Telerik team
    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ervis
    Ervis avatar
    5 posts
    Member since:
    Oct 2012

    Posted 07 Nov 2012 Link to this post

    Thank you very much that did the trick now the list expands horizontally with horizontal scroll bars appearing as needed.
    Again thank you
  5. Mohammadreza
    Mohammadreza avatar
    1 posts
    Member since:
    May 2013

    Posted 08 Oct 2013 Link to this post

    Hi, I am wonder what is the name of the controller that is used in Telerik website. I attached the picture to this.
    If you have any example please guide me.
    Thank you.
  6. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 09 Oct 2013 Link to this post

    Hello Mohammadreza,

    Thank you for writing.

    The control you are referencing is RadRotator. You can find more info on it in our online documentation - RadRotator.

    I would like to note that this is the WinForms forum and questions related to the ASP.NET AJAX components should be asked in the corresponding product forum.

    I hope this will help. Do not hesitate to write back with further questions.

    Regards,
    Ivan Petrov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready