Top "Scrollviewer" questions

A scroll viewer is a user interface construct that provides a scrolling area to any control(or hierarchy of controls) that is placed within it.

How can I get a vertical scrollbar in my ListBox?

In the example below I have a ListBox with dozens of font names in it. I would have thought it …

wpf xaml listbox scrollviewer
WPF: ItemsControl with scrollbar (ScrollViewer)

I followed this small "tutorial" on how to add a scrollbar to an ItemsControl, and it works in Designer view, …

wpf wpf-controls itemscontrol scrollviewer
How can I get ScrollViewer to work inside a StackPanel?

In the following WPF XAML the ScrollViewer does not work (it displays a scroll bar but you cannot scroll and …

wpf xaml scrollviewer stackpanel
WPF: How to make canvas auto-resize?

I would like my Canvas to automatically resize to the size of its items, so that the ScrollViewer scroll bars …

.net wpf resize wpf-controls scrollviewer
Correct way to set ScrollViewer (for vertical scrolling) on a WPF Frame?

does anyone know the difference between defining a vertical scrollbar on a frame like this: <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="…

wpf scrollbar webbrowser-control frame scrollviewer
ScrollViewer mouse wheel not scrolling

I am currently working on my first WPF project and trying to make a ListView scrollable. At first I thought …

c# wpf xaml scrollviewer mousewheel
ScrollViewer not scrolling in WPF

I am using a scrollviewer control around my stack panel which contains an ItemsControl. When there are many items in …

wpf scrollviewer
How to make scrollviewer work with Height set to Auto in WPF?

I have learned that if the height of a grid row, where the ScrollViewer resides, is set as Auto, the …

wpf xaml uwp-xaml scrollviewer autosize
How to increase scrollbar width in WPF ScrollViewer?

I am working on a touch screen on a small device and the custom width of the scroll-bar is no …

wpf scrollbar width scrollviewer
How to scroll WPF ScrollViewer's content to specific location

I am writing my custom WPF ItemsControl to display a list of item. The items are shown embedded inside a …

wpf mouse position scrollviewer