wpf - Passing 'this' from view to viewmodel -
i have button which, when clicked, should open new window modal window. thinking of passing this
xaml , in viewmodel, have got parentwindow window.getwindow(parameter)
. there equivalent this
in xaml?
unless in disconnected context can pass window using relativesource
binding ancestortype=window
.
Comments
Post a Comment