Paul blog

Explaining thoughts and findings is a great way to learn

Browse by Tags

All Tags » WPF (RSS)
Perspective camera animation on a cube in WPF 3D
I have started WPF 3D at my work. Actually, i wanted to make roll animation effect using WPF 3D. After some R&D, I came up with roll animation using 2D animation, which I described in my previous blog post. At first, I tried to make roll animation...
Creating a Roll animation effect in WPF
I know one picture can tell what the Roll animation looks like instead of writing many sentences. The animation looks like the following: Opacity masks allow us to make portions of a UIelement or visual either transparent or partially transparent. To...
Wheel Clockwise animation in WPF
This animation is like the Wheel Clockwise, 1 spoke, animation of MS power point. Some people also call this animation as Radial animation. This animation starts from a line, which points from the centre to top middle, and then it rotates 360 degrees...
Creating marquee/scrolling text in WPF
A WPF marquee is a scrolling piece of text displayed either horizontally across or vertically down your container. Here i show you how to make a scrolling marquee using Canvas and TextBlock. I will show only left to right in code. However, you can achieve...
Making circle animation in WPF
This animation is like the circle animation of MS power point. You can set any geometry like ellipse geometry to define the visible region of a WPF UIelement type. To make it possible every WPF UIelement type has a clip property and you can set any geometry...
Posted: 08-01-2009 5:29 PM by Razan | with no comments
Filed under: , ,
How can we make a deep copy of a WPF object?
We can make a deep copy of  a WPF object using XamlWriter and XamlReader . Here the XamlWriter.Save is used to serialize the contents of a WPF object into xaml string.   XamlReader.Load is used to parse XAML string into a WPF object. To make...
Posted: 03-25-2009 12:16 PM by Razan | with no comments
Filed under:
Remora Pattern by Ben Constable
According to Ben Constable, Remora Pattern allows you to attach a chunk of logic to any existing element that you have. This pattern can be implemented using an Attached Dependency Property in WPF. Here an Attached Dependency Property is attached with...
Posted: 03-25-2009 11:58 AM by Razan | with no comments
Filed under: