Results 1 to 6 of 6

Thread: Windows Phone scrolling problem

  1. #1
    Join Date
    Sep 2010
    Posts
    48

    Windows Phone scrolling problem

    I am trying to build an application for the Windows phone 7 in the emulator and wanted to know that how do I get my application (the Main Page) to roll to the right, as in swiping the screen so I can observe things on the right. I have tried expanding the grid size to no avail. To better explain, imagine the word "Cool Man" on the top of the application. Only "Cool M" is able to be seen. How can I enlarge the piece of paper and be able to scroll to the remaining "an" in the application, any suggestion on the topic will be appreciated to resolve the issue.

  2. #2
    Join Date
    May 2008
    Posts
    5,812

    Re: Windows Phone scrolling problem

    As you have mentioned that you want the scrolling effect in the application that you are trying to build so first tell me how much you want to expand on the page and what are your requirements such as there are Simple Horizontal ScrollViewer and the Manipulation Events which are commonly used in these cases.

  3. #3
    Join Date
    Sep 2010
    Posts
    48

    Re: Windows Phone scrolling problem

    Simple Horizontal ScrollViewer and the Manipulation Events are the options available for the scrolling to take place in the application that i am trying to build in the Windows Phone 7 Emulator. So, i want bot the solution if possible from you and also tell me the coding for that in a proper way, any suggestion on the topic given below will be recommended to resolve the problem.

  4. #4
    Join Date
    May 2008
    Posts
    5,937

    Re: Windows Phone scrolling problem

    If you want to resolve the scrolling problem by using Horizontal ScrollViewer method then you can use the following code to resolve the given issue;
    <Grid a:Name="LayoutRoot"
    Background="{StaticResource PhoneBackgroundBrush}">
    <ScrollViewer Width="580"
    HorizontalScrollBarVisibility="Auto">
    <StackPanel a:Name="ContentGrid">
    <TextBlock Text="Cool Man"
    Foreground="Blue"
    FontSize="190"/>
    <TextBlock Text="Cool guy"
    Foreground="Blue"
    FontSize="120"/>
    </StackPanel>
    </ScrollViewer>
    </Grid>
    These steps will provide you the appropriate scrolling in the Emulator.

  5. #5
    Join Date
    Nov 2009
    Posts
    1,142

    Re: Windows Phone scrolling problem

    If you are using the other approach that is the Manipulation Events. This requires additional work and some alteration, but the universal idea is to execute a translate change on the desired contented as the consumer swipes;

    <Canvas a:Name="LayoutRoot"
    Background="{StaticResource PhoneBackgroundBrush}">
    <StackPanel x:Name="ContentPanel"
    Background="Yellow"
    ManipulationDelta="ContentPanel_ManipulationDelta">
    <TextBlock Text="Cool Man"
    Foreground="Black"
    FontSize="140"/>
    TextBlock Text="Cool Man"
    Foreground="Yellow"
    FontSize="120"/>
    </StackPanel>
    </Canvas>

  6. #6
    Join Date
    Jun 2009
    Posts
    4,586

    Re: Windows Phone scrolling problem

    The scrolling problem that you have mentioned can be resolve by using the parallax scrolling which is an extension of the Simple Horizontal ScrollViewer and the Manipulation Events methods which are used in the windows Phone 7. So, you can insert the scrolling effect by using the same parallax scrolling tag that is available in the Windows Phone 7 Emulator.

Similar Threads

  1. Microsoft Mouse 5000 Scrolling wheel problem with windows 7
    By Illinois in forum Hardware Peripherals
    Replies: 6
    Last Post: 20-08-2010, 06:28 AM
  2. Replies: 2
    Last Post: 24-04-2009, 07:36 AM
  3. Screen & scrolling problem
    By Atilla in forum Monitor & Video Cards
    Replies: 3
    Last Post: 18-03-2009, 08:59 PM
  4. Age Of Empires 2 Scrolling Problem HELP
    By Elettra in forum Windows XP Support
    Replies: 1
    Last Post: 21-01-2007, 06:38 AM
  5. Screen Scrolling Problem?
    By kattman in forum Customize Desktop
    Replies: 4
    Last Post: 16-02-2006, 05:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,570,986.04384 seconds with 17 queries