Is there a practical alternative to struct inheritance? (C#)
- by Tim Coulter
I am writing code that will populate the Margin, Padding and BorderThickness properties of classes in the System.Windows.Documents namespace. Each of these properties accepts a value in the form of a System.Windows.Thickness, which is a struct.
However, I wish to associate some additional data with each of these property assignments, which may…