Say I have a control that inherits from UserControl (hence one of its super classes is DependencyObject). It's very easy to solve a notification problem using a DependencyProperty, since INotifyPropertyChanged needs a little implementation, and the other option would be creating a method to modify the state of the control (like myControl.HideTextBox()). I guess there are several more options to solve this, but since the control already inherits from DependencyObject, a DependencyProperty seems to be the more obvious way, but it might not be the optimal.
Any thought?
Thanks!