I have a TextBox Binded to a dependancy property, I have implemented a PropertyChangedCallBack function, when the text changes I need to call textbox.ScrollToEnd() but I can
The DependencyObject is the object that raised the event. You need to cast obj to the type you need. E.g.
DependencyObject
obj
TextBox textbox = (TextBox)obj; textbox.ScrollToEnd();