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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:26:22+00:00 2026-05-26T17:26:22+00:00

I am looking for a way to know when a user is scrolling the

  • 0

I am looking for a way to know when a user is scrolling the listbox on my Windows Phone 7 application up or down.

The closest I can come to is:

    private double fDown = 0.6;

    private void buddyList_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e)
    {
        var sView = e.ManipulationContainer as ScrollViewer;

        double lBox = 25 - fDown;

        double nBox = 25 - sView.VerticalOffset;

        if (nBox > lBox)
            MessageBox.Show("up!");
        else
            MessageBox.Show("down!");
    }

However, that doesn’t work correctly. I need to know when it’s at the bottom of the listbox compared to scrolling through the middle of it.

When it’s at the bottom of the listbox I want to enable a timer to keep it at the bottom constantly. Or is there another way to keep it at the bottom constantly…? Is there anyway I can do this?

Thanks.

  • 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-26T17:26:23+00:00Added an answer on May 26, 2026 at 5:26 pm

    I talked to a friend and he gave me this as an answer (to anyone who looks in the futue):

            var sView = e.ManipulationContainer as ScrollViewer;
    
            double lBox = 25 - sView.ScrollableHeight;
    
            double nBox = 25 - sView.VerticalOffset;
    
            if (lBox < nBox)
                //Listbox Scrolled Up
            else
                //Listbox at Bottom
    

    Thanks.

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

Sidebar

Related Questions

In ASP.NET, I'm looking for a way to audit a user leaving my application.
I'm looking for a way to allow the user of my iPhone application to
I'm looking for a way to know in a Java application ( without JNI
I’m writing a Windows Phone 7 app and am looking for a way to
I'm looking for a way if you know the location where to read the
I'm looking for a way how to programmatically create a local user group. I
I'm looking for a way to implement a surface (in C#, Windows Forms) where
I am looking for a way to find out if a user has the
I'm looking for a way to automatically set the user status as offline and
I was looking for a way to Start / Stop Windows Services residing in

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.