I'm having an issue with calling a method on a UserControl. Hear me out:
I have a UserControl
someControl
in SomeView.xamlSomeView.xaml's DataContext is SomeViewModel.cs
I want to be able to call
someControl.DoStuff()
somehow, somewhere.DoStuff is not UI specific (I could have just called DoStuff from the code-behind of SomeView.Xaml.Cs if it was UI specific, but in this case, it may not be.)
Any ideas?
Thanks!