In WPF, how do I get the control (FrameworkElement) that is bound to a property in a viewmodel's end? I want to create a drop shodow effect on the control.
views:
17answers:
1
+1
A:
Getting a control instance in the ViewModel class is not really a good practice(as per MVVM). You can always have DataTrigger or converter in the XAML side to do that.
Jobi Joy
2009-10-14 06:38:52