WPF Arrow and Custom Shapes

January 23, 2008

WPF is the best UI framework ever. It provided us with a large arsenal of vector graphic types such as Line, Ellipse, Path and others. Sometimes we need shapes which are not provided in the WPF arsenal (such an Arrow), and with all the respect to the Path shape, which can be used to create any type of 2D shape, we do not want to recalculate each point every time. This is a good reason and opportunity to create a custom shape. WPF provides two kinds of vector types: Shapes and Geometries. Shape is any type that derives from...
7 comments

WPF Themes and Skins Engine

January 1, 2008

One of the best features in WPF is the ability to replace Resources, Styles, Control Templates and Data Templates at runtime. Based on this feature one can design and implement a theme or a skin mechanism as introduces in many articles including this. There are several ways to implement such mechanism, each has its pros and cons. In this article I will talk about different techniques for handling WPF themes and skins, I will also provide a helper class for loading and unloading themes. See my article on CodeProject.
no comments