The key to scaling your WPF elements in a specific direction other than down and to the right are the CenterX and CenterY properties of the ScaleTransform. It’s easy enough to set these manually, but that’s just lazy and asking for long term trouble. Instead, decide how you want it to animate and bind it [...]
Archive for June, 2007
WPF ScaleTransform Direction
Jun 28
NOTE: Impatience just leads to frustration. When I first starting playing with PowerShell here at the office, I was all excited to start adding little cmdlets to my personal profile and add to my stellar productivity (tongue firmly planted in check). This would hopefully reduce the net loss incurred by my learning PowerShell in the first place. So [...]
One of my play projects with WPF is a photo viewer for the pictures we put out on http://cromwellhaus.com. One of the views is a montage of the latest photos with a random RotateTransform Angle applied to each image’s RenderTransform. Getting the view itself set up as cake, but when I attempted to apply the random angle [...]