I have a class derived from System.Windows.Controls.UserControl, and I need to add a PropertyChangedCallback to the FrameworkElement.Margin dependency-property.
How is this accomplished from my C# code? I can't find any good examples of this in MSDN.