This is a migrated thread and some comments may be shown as answers.

Remove Listbox Horizontal Scrollbar

1 Answer 169 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Diego
Top achievements
Rank 1
Diego asked on 14 May 2010, 05:44 AM
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.
Thanks,
Diego

1 Answer, 1 is accepted

Sort by
0
Accepted
Victor
Telerik team
answered on 14 May 2010, 01:45 PM
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,
Victor
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.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Diego
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or