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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:55:46+00:00 2026-06-13T23:55:46+00:00

I am using C#, Silverlight, Visual Studio for Windows Phone 7. I am looking

  • 0

I am using C#, Silverlight, Visual Studio for Windows Phone 7.

I am looking for an event that fires when a scroll has finished scrolling. I am interested in getting the final positions of certain elements.

LayoutUpdated gets fired a few times during a scroll, but not consistently at the end of the scrolling. ManipulationCompleted some times works, but if the user does a “flick” motion on the scroll, ManipulationCompleted fires before the scroll stops moving.

Please note that I am working in Silverlight and scroll events like ScrollChanged just simply do not exist.

Thanks in advance.

  • 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-13T23:55:47+00:00Added an answer on June 13, 2026 at 11:55 pm

    I solved this problem by tapping into the VisualStateGroup of the ScrollViewer.

    // uie is a UIElement
    IEnumerable<ScrollViewer> svList = uie.GetVisualDescendants<ScrollViewer>();
    if (svList.Count() > 0)
    {
        // Visual States are always on the first child of the control
        FrameworkElement element = VisualTreeHelper.GetChild(svList.First<ScrollViewer>(), 0) as FrameworkElement;
        // getting all the visual state groups
        IList groups = VisualStateManager.GetVisualStateGroups(element);
        foreach (VisualStateGroup group in groups)
        {
            if (group.Name == "ScrollStates")
            {
                group.CurrentStateChanged += new EventHandler<VisualStateChangedEventArgs>(group_CurrentStateChanged);
            }
        }
    }
    
    private static void group_CurrentStateChanged(object sender, VisualStateChangedEventArgs e)
    {
        if (e.NewState.Name == "NotScrolling")
        {
            isNotScrolling = true;
        }
        else
        {
            isNotScrolling = false;
        }
    }
    

    The only problem I have encountered with this is that the ScrollStates’s state changes very slowly, so other events that the app fires will process before your code even registers a scroll.

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

Sidebar

Related Questions

I am using C#, Silverlight, Visual Studio for Windows Phone 7. I am interested
I am using C#, Silverlight, Visual Studio for Windows Phone 7. Is there a
I am using C#, Silverlight, Visual Studio for Windows Phone 7. I would like
While trying to compile a Silverlight project for Windows Phone using Visual Studio 2010
While working with SilverLight using Visual Studio 10, I found that in design mode
I'm using the Silverlight business application (Navigation application) template that comes with Visual studio
I am using express edition visual studio 2010 for windows phone 7 , 7.1
I'm using Silverlight 3 in Visual Studio 2008. Unfortunately I can't seem to get
I'm using the lastest version of Silverlight 2.0 within Visual Studio 2008. I have
I'm using SilverLight on Visual Studio 2008, Ver 3.5 SP1, I have a small

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.