Removing Scroll Bars

Views for WPF Forum

Posted 14 years ago by Jason Podwojski
Version: 10.1.0523
Avatar
How can I remove the scroll bars, when there are more items in the view than can be displayed.
        <ListBox x:Name="listBox" Grid.Row="1" BorderBrush="{x:Null}" Background="{x:Null}">
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <views:AnimatedStackPanel/>
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
        </ListBox>

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Jason,

You can set the ScrollViewer.HorizontalScrollBarVisibility and ScrollViewer.VerticalScrollBarVisibility attached properties directly on the ListBox.


Actipro Software Support

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.