Coder Social home page Coder Social logo

Comments (3)

Herdo avatar Herdo commented on August 20, 2024

Turns out that Visual Studio is hosting the entire start page already inside a ScrollViewer.
Therefore, the ScrollViewer defined in the views won't work.

from solutionstartpage.

modulexcite avatar modulexcite commented on August 20, 2024

from solutionstartpage.

Herdo avatar Herdo commented on August 20, 2024

@modulexcite - this image will explain it a little bit better than plain words can:
grafik

The red part is the top-most element of the primary window content.

This one holds a ScrollViewer (blue part). I guess the intention behind this ScrollViewer is, that any window content might not know the available size, therefore VS provides a top-most ScrollViewer, so that the user can always scroll the content required into view.

The green part is the Solution Start Page extension.

The black part shows the primary contents: the default MRU list, open project, create new project etc and the Solution Page Control on the right side, showing the grouped solutions.
The SolutionPageControl hosted another ScrollViewer, which then catches all mouse scrolls.

After finding out that there's another (blue one) ScrollViewer around the whole start page, I remembered the number 1 rule for WPF development:

Never ever put a ScrollViewer inside another ScrollViewer.

from solutionstartpage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.