DependencyProperty Serialization Part II

by Christoph Menge in .NET

First off, my apologies for not posting the second part earlier. I have had a lot to do in the past Months… Part II of the article will show how a SerializationSurrogate works and explore wheter we can use it for generic de-serialization of DependencyProperties. Also, in this article I provide full source code for [...]

Tags: , ,

Custom DependencyProperties and “Auto”

by Christoph Menge in Software

While implementing a little custom control (a radial panel, actually – stay tuned what it’s good for…), I stumbled across a little problem when trying to add automatic behaviour. Many built-in WPF Controls such as Canvas or Panel allow something like Width="Auto" Now, for my control I need something that accepts AngleSpacing="Auto" AngleSpacing="<double>" Of course, [...]

Tags: , , ,