Event handling with an anonymous delegate
问题 For the record: I found a similar question here but I have to elaborate a bit more on on the subject. My concrete scenario is this: In Silverlight 4, The myFrameworkElement.FindName("otherElementName") method seems to work fine now, but I encountered a problem. It still returns null when the element is not yet added to the visual tree obviously. But now I need this functionality in a DependencyProperty 's PropertyChangedCallback of a custom UserControl handler. In this scope, it is uncertain