Welcome to Windows Presentation Foundation (WPF)
Top Tasks :

WPF Community Bloggers

Sunday, September 23, 2007 - Posts

  • The two-finger matrix transformation

    Mike and I were discussing ways to translate multiple-finger motions into simple matrix transformations for multi-touch over dinner; a busy afternoon later and he’s produced a great example that makes it look easy. This certainly won’t appear Read More...
  • More Circuits in XAML

    I've been playing around with XAML files that might be used for interactive demonstrations, perhaps in a classroom or similar environment. It seemed that it might be interesting to have several similar demonstrations occupying the screen, and when you pass your mouse over one of them, that one expands to nearly the size of the window, and then when you're done, you could move your mouse to another. I knew that Viewbox would be involved to make the individual items larger and smaller, but the real breakthrough came when I realized I needed two levesl of Viewbox . I needed to put everything in a single Viewbox so that the overall size would adjust itself to the window size of the web browser, the resolution of the video display, etc. Within that Viewbox is some kind of panel, and within the panel are multiple Viewbox items containing the expandable/contractable items. These interior Viewbox elements are connected with a style that expands and contracts the size of the Viewbox based on MouseEnter Read More...

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us