Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6958935
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:12:19+00:00 2026-05-27T15:12:19+00:00

I am taking a look at Windows Phone 7 development and the app I

  • 0

I am taking a look at Windows Phone 7 development and the app I am wishing to create needs to create a view (actually a grid of different width rectangles/areas) which scrolls both vertically and horizontally, but the first column is locked from any horizontal scrolling.

To try and elaborate, the first ‘horizontally locked’ area is fixed width and has a ‘logo’ for each ‘row’ in the second area. The second area can scroll both horizontally and vertically … scrolling vertically scrolls both areas together so the logo always ties in with the row of data in the second area.

I thought I might be able to embed multiple scrollviewer controls but that doesnt seem possible.

Does anyone have any ideas how or if this may be possible?

Example:

+-----+--------------------------------+
|  1  |    |          |      |         |
+-----+--------------------------------+
|  2  |         |         |      |     |
+-----+--------------------------------+
|  3  |  |          |     |    |       |
+-----+--------------------------------+
|  4  |         |         |        |   |
+-----+--------------------------------+
|  5  |     |   |     |          |     |
+-----+--------------------------------+

So the numbered section above always stays aligned with the rest of the content on the right when the whole screen is vertically scrolled. Horizontal scrolling only affects the area on the right.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:12:20+00:00Added an answer on May 27, 2026 at 3:12 pm

    Try out this XAML code. It uses two ScrollViewer and works for me…

    <phone:PhoneApplicationPage 
        x:Class="SamplePhoneApp.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
        xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
        FontFamily="{StaticResource PhoneFontFamilyNormal}"
        FontSize="{StaticResource PhoneFontSizeNormal}"
        Foreground="{StaticResource PhoneForegroundBrush}"
        SupportedOrientations="Portrait" Orientation="Portrait"
        shell:SystemTray.IsVisible="True">
    
        <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
            <Grid x:Name="LayoutRoot" Background="Transparent">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="200" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
    
                <Border Grid.Column="0" Grid.Row="0" Height="200" Background="DarkSeaGreen">
                    <TextBlock Text="1." Height="200" />
                </Border>
                <Border Grid.Column="0" Grid.Row="1" Height="200" Background="Magenta">
                    <TextBlock Text="2." Height="200" />
                </Border>
                <Border Grid.Column="0" Grid.Row="2" Height="200" Background="Bisque">
                    <TextBlock Text="3." Height="200" />
                </Border>
                <Border Grid.Column="0" Grid.Row="3" Height="200" Background="BurlyWood">
                    <TextBlock Text="4." Height="200" />
                </Border>
                <Border Grid.Column="0" Grid.Row="4" Height="200" Background="CadetBlue">
                    <TextBlock Text="5." Height="200" />
                </Border>
    
                <ScrollViewer Grid.Row="0" Grid.RowSpan="5" Grid.Column="1" 
                          ScrollViewer.VerticalScrollBarVisibility="Disabled"
                          ScrollViewer.HorizontalScrollBarVisibility="Visible">
                    <StackPanel>
                        <StackPanel Height="200" Orientation="Horizontal">
                            <Border Height="200" Width="300" Background="Red">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="150" Background="Aqua">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="250" Background="Cornsilk">
                                <TextBlock Text="abc" />
                            </Border>
                        </StackPanel>
    
                        <StackPanel Height="200" Orientation="Horizontal">
                            <Border Height="200" Width="140" Background="DarkCyan">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="300" Background="CornflowerBlue">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="190" Background="DarkOrange">
                                <TextBlock Text="abc" />
                            </Border>
                        </StackPanel>
    
                        <StackPanel Height="200" Orientation="Horizontal">
                            <Border Height="200" Width="200" Background="Red">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="250" Background="Aqua">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="250" Background="Cornsilk">
                                <TextBlock Text="abc" />
                            </Border>
                        </StackPanel>
    
                        <StackPanel Height="200" Orientation="Horizontal">
                            <Border Height="200" Width="140" Background="DarkCyan">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="400" Background="CornflowerBlue">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="190" Background="DarkOrange">
                                <TextBlock Text="abc" />
                            </Border>
                        </StackPanel>
    
                        <StackPanel Height="200" Orientation="Horizontal">
                            <Border Height="200" Width="200" Background="Red">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="150" Background="Aqua">
                                <TextBlock Text="abc" />
                            </Border>
                            <Border Height="200" Width="300" Background="Cornsilk">
                                <TextBlock Text="abc" />
                            </Border>
                        </StackPanel>
                    </StackPanel>
                </ScrollViewer>
            </Grid>
        </ScrollViewer>
    </phone:PhoneApplicationPage>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been taking a look at some different products for .NET which propose to
I'm a C# developer taking my first steps in Windows Mobile development. I've installed
Taking a look at my question HERE , I now want to return the
After taking a look at this SO question and doing my own research, it
I'm taking a look at how the model system in django works and I
I was taking a look through some open-source C++ code and I noticed a
I was taking a look at http://www.zenfolio.com/zf/features.aspx and I can't figure out how they
Thanks for taking a look at this. The issue has to do with the
I was taking a look at Star Schema Benchmark and then I was thinking
I'm now taking a look at the PocketC powerful tool, but there is an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.