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 7854091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:55:50+00:00 2026-06-02T19:55:50+00:00

I was making some good progress on my App, but ran into a problem

  • 0

I was making some good progress on my App, but ran into a problem that’s stumped me. I was hoping someone could offer their expertise?

My app is intended to be a “scoresheet”… one of the PivotItems features a ScrollViewer (Horizontal scrolling, vertical disabled), with a Horizontal-orientation StackPanel inside. This StackPanel contains a “ScoreSheet” UserControl, which is basically a Grid with various text-boxes on it. So… kind of like this (except the ScoreSheet items are added to the StackPanel programmatically):

<controls:PivotItem>
   <controls:PivotItem.Header>
      <TextBlock Text="score sheet" FontSize="45" Height="80" />
   </controls:PivotItem.Header>

   <ScrollViewer Width="470" Height="560" VerticalAlignment="Top" x:Name="sv_scoresheets" MaxHeight="560" MinHeight="560" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Disabled" IsHitTestVisible="False">
      <StackPanel Name="sp_scoresheets" Orientation="Horizontal">
         <local:ScoreSheet></local:ScoreSheet>
         <local:ScoreSheet></local:ScoreSheet>
         <local:ScoreSheet></local:ScoreSheet>
      </StackPanel>
   </ScrollViewer>

</controls:PivotItem>

The concept was that “Previous” and “Next” buttons are in the ApplicationBar at the bottom of the page, and they trigger an Animation of the ScrollViewer left or right (ie. Current Round * Width of ScoreSheet). By having “IsHitTestVisible” set to “False” on the ScrollViewer, a user can’t manually move the displayed ScoreSheet to a weird position, and swiping left/right between PivotItems still works as expected.

That all worked nicely. 🙂

However… the problem is on the ScoreSheet control, I want a few Buttons and TextBoxes so the user can enter in a score into the grid. By having “IsHitTestVisible” on the ScrollViewer, the taps/etc. just get ignored.

I tried setting “IsHitTestVisible” to “True” and instead running a function on the ScrollViewer’s ManipulationStarted event (calling “e.Complete()”)… but although that lets me access controls inside the ScoreSheet, I can’t swipe left/right between PivotItems anymore.

So… can anyone help? I was thinking maybe I could refine the ManipulationStarted behavior somehow, maybe “passing along” the action to the Pivot control instead of having the ScrollViewer move? Or some other way I can make the ScrollViewer “inactive” but allow the controls within to be interactive?

I’d really appreciate any help.
Thanks for your time!

  • 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-06-02T19:55:52+00:00Added an answer on June 2, 2026 at 7:55 pm

    Many thanks to Paul for his input and advice. A Pivot offered some extra flexibility, but still had similar issues to the ScrollViewer control when IsHitTestVisible=”False” (in that buttons and other controls on the contained elements would become unusable). Also, aesthetically for this app, I found I preferred the multiple ScoreSheets being right next to each other when the Previous/Next buttons were pressed and they were animated to show the new sheet (as PivotItems, one would scroll out of view before the next scrolled into place).

    After some more thought and experimentation, I achieved the desired effect like this:

    <Canvas Width="470" Height="560" VerticalAlignment="Top" MaxHeight="560" MinHeight="560" MinWidth="470" MaxWidth="470">
       <Canvas.Clip>
          <RectangleGeometry Rect="0,0,470,560" />
       </Canvas.Clip>
       <StackPanel Name="sp_scoresheets" Orientation="Horizontal" CacheMode="BitmapCache">
          <local:ScoreSheet /></local:ScoreSheet>
          <local:ScoreSheet /></local:ScoreSheet>
          <local:ScoreSheet /></local:ScoreSheet>
       </StackPanel>
    </Canvas>
    

    The “Canvas.Clip” let me hide the ScoreSheets on either side of the currently visible one, and I could animate the Canvas.Left position of the StackPanel when the Previous/Next buttons were pressed.

    By avoiding the ScrollViewer or Pivot, there were no events to handle/override, and the controls in the StackPanel could then be accessed as I intended.

    ‘hopefully that might be of help to others. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on my first iPhone app and making good progress. But there
I am making some probes with async CTP but I don't get a good
Making good progress on rails now, but hit a snag on heroku deployment. After
I am making some jsonp requests. I know that jquery will make a good
I am in progress of making my first 3D game, but I stuck into
Does anyone know some good guides on making Ribbons that actually look good like
I'm working on making some code using metaheuristics for finding good solutions to the
While making some final tests of a class-library that I'm writing for Windows Mobile
im making some script with mechanize.browser module. one of problem is all other thing
currently im making some crawler script, one of problem is sometimes if i open

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.