?
Solved

Scroll down pictures

Posted on 2010-11-27
2
Medium Priority
?
366 Views
Last Modified: 2012-05-10
Hi,

I have a bunch of pictures on my screen, but not all are visible on the actual screen that I am designing the interface, but I have alligned them through code. I want to be able to scroll down all 8 pictures, currently only 2 pictures show and the scroll viewer is not working. I am not sure how it works...

currenly I have a groupBox that has all the 8 pictures and the scroll viewer is inside the group box.. I might be doing this wrong I think...
0
Comment
Question by:Trying_to_Learn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
Trying_to_Learn earned 0 total points
ID: 34224242
Figured it out
<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="UseScrollViewer" Height="300" Width="300">
    <Grid>
        <ScrollViewer Name="ScrollViewer1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
            <StackPanel  Margin="0,0,0,0" Name="StackPanel1" VerticalAlignment="Top">
                <Image Margin="0,0,0,0" Name="Image1" Source="smile.bmp" Stretch="None" />
                <Label Height="Auto" Margin="0,0,0,0" Name="Label1" VerticalAlignment="Bottom" HorizontalContentAlignment="Center">Have a nice day!</Label>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</Window>

Open in new window

0
 

Author Closing Comment

by:Trying_to_Learn
ID: 34224244
Figured out the soln myself
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question