Remove Listbox Horizontal Scrollbar

Thread is closed for posting
2 posts, 1 answers
  1. Diego
    Diego avatar
    1 posts
    Member since:
    Dec 2009

    Posted 14 May 2010 Link to this post

    Hi, I cannot get rid of the horizontal scrollbar on a listbox.

    I do ....

      listbox.HorizontalScroll.Enabled = False 
      listbox.HorizontalScroll.Visible = False 

    but it has not effect.

    I am using 2010 Q1 SP2 in VS 2010.

    Any help is greatly appreciated.
  2. Answer
    Victor avatar
    1358 posts

    Posted 14 May 2010 Link to this post

    Hi Diego Terzano,

    Thank you for the question.

    Please try this:
    this.radListBox.ListBoxElement.HorizontalScrollState = ScrollState.AlwaysHide;
    Write again if you have other questions.

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top