Simple WPF ViewModel implementaion with VisualBasic.NET

This is my trial for applying View-ViewModel concept in WPF Windows application. I do not have a Model for this sample so omitting that word 😉

This is the XAML code which I used. Here I tried to do text binding with a TextBox and Command binding with a Button.

File 1: Window1.xaml

 

File 2: Window1.xaml.vb

And here is the VB.NET code:

File 3: ViewModel.vb

 

Simple WPF ViewModel implementaion with VisualBasic.NET

This is my trial for applying View-ViewModel concept in WPF Windows application. I do not have a Model for this sample so omitting that word 😉

This is the XAML code which I used. Here I tried to do text binding with a TextBox and Command binding with a Button.

File 1: Window1.xaml

 

File 2: Window1.xaml.vb

And here is the VB.NET code:

File 3: ViewModel.vb