I am in phase of learning wpf/mvvm as per i get to know in vm we declare commands and bind them to view element\'s event rather doing this in codebehind file... what i am not ge
var v=(viewclassname)this.getview();
then you can access the element in the view