Solved

Scroll down pictures

Posted on 2010-11-27
2
351 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
  • 2
2 Comments
 

Accepted Solution

by:
Trying_to_Learn earned 0 total points
Comment Utility
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
Comment Utility
Figured out the soln myself
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now