I have viewmodel like this:
public class ViewModel
{
public IView View { get; set; }
}
And Window that implements IView.
I need to bind this exact Window to view property without changing ViewModel class.
Is this possible to do with only XAML of that Window?
I can do it this way: https://stackoverflow.com/a/47266732/3206223
But would have to change ViewModel which is undesirable in this case.