While playing with the ListBox control I want to set the ScrollViewer's VerticalScrollBarVisibility/HorizontalScrollBarVisibility properties in the XAML. The following code illustrates how to do it:
<ListBox x:Name="StatusList"
ScrollViewer.HorizontalScrollBarVisibility="Hidden">
...
</ListBox>