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

Disable horizontal scroll?

1 Answer 1167 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Dmitry
Top achievements
Rank 1
Dmitry asked on 16 Jun 2014, 01:47 AM
I have seen that this is possible with WinForms control, but I cannot find a way to do this for WPF RadListBox.
How can I fix the width of RadListBox items?

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 16 Jun 2014, 08:39 AM
Hi Dmitry,

The ScrollViewer.HorizontalScrollBarVisibility attached property gets or sets a value that indicates whether a horizontal ScrollBar should be displayed. If we set it to Disabled or Hidden the ScrollBar will not appear even when the viewport cannot display all of the content.
<telerik:RadListBox Width="60" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ...>
...
</telerik:RadListBox>

Hopefully this helps.

Regards,
Polya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ListBox
Asked by
Dmitry
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or