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.
From stackoverflow
-
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.
0 comments:
Post a Comment