C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
Here: I dragged three Button controls to the ScrollViewer. I then added margin to the Buttons to make them larger in area.
Result: In the final program, the buttons can be scrolled up and down with the scroll bar located on the right of the window.
Example markup: XAML
<Window x:Class="WpfApplication6.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<ScrollViewer HorizontalAlignment="Left" Height="299" Margin="10,10,0,0"
VerticalAlignment="Top" Width="497">
<StackPanel>
<Button Content="Button 1" HorizontalAlignment="Left" Margin="50"
VerticalAlignment="Top" Width="75"/>
<Button Content="Button 2" HorizontalAlignment="Left" Margin="50"
VerticalAlignment="Top" Width="75"/>
<Button Content="Button 3" HorizontalAlignment="Left" Margin="50"
VerticalAlignment="Top" Width="75"/>
</StackPanel>
</ScrollViewer>
</Grid>
</Window>
And: You won't need to redesign your entire program just to add another button or TextBlock description.
ButtonTextBlock