Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - scalingIn this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearHow to create an animated expanderurn:md5:2ae908d20a12760560980c024eaabac72010-09-21T14:02:00+02:002010-09-21T15:03:55+02:00JonathanANTOINE@falsemail.comWPFanimationContentControlexamplesamplescalescalingTemplatetipstrickWindows Presentation FoundationWPFXAML <p>The expander control can be used in a lot of situations but the one proposed by default is quite "rigid".
In this post we will discover how to animate it quite simply just via XAML !
The WPF engine lets us redefine the template of the controls and we'll just do that.
The goal aimed
What we aim is to get the same functionnality as the... <a href="http://blog.lexique-du-net.com/index.php?post/2010/09/21/Create-an-animated-expander"><em>Read</em> How to create an animated expander</a></p>http://blog.lexique-du-net.com/index.php?post/2010/09/21/Create-an-animated-expander#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/56How to scale around a specific point and not the center of the Elementurn:md5:c8fa861010ac01eac2c6ba11ecf59f642009-10-11T16:28:00+02:002010-02-18T20:39:04+01:00JonathanANTOINE@falsemail.comMultiTouchcalculationhow tomanipulationmathmultitouchNatural User InterfaceNUIprocessorscalescalingWPF <p>The problem
The most popular controls which has been brought by the Microsoft SDK is certainly the scatterView. Each item is positioned at a random place with a random orientation.
You can then rotate, move or scale them with your fingers. Here we will focus on this last point : the scaling. This is a really nice feature and you may wants... <a href="http://blog.lexique-du-net.com/index.php?post/2009/10/11/How-to-scale-around-a-specific-point-and-not-the-center-of-the-Element"><em>Read</em> How to scale around a specific point and not the center of the Element</a></p>http://blog.lexique-du-net.com/index.php?post/2009/10/11/How-to-scale-around-a-specific-point-and-not-the-center-of-the-Element#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/29