Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF & MVVM: Any examples using VB.Net?

Tags:

vb.net

mvvm

wpf

Almost every example of MVVM I found is coded in C#, are there any examples/tutorials coded in VB.Net? I'm having a hard time translating C# to VB.Net since I haven't really used C# in any meaningful way...

Also, does a MVVM Template/Toolkit for VB.Net exist yet?

like image 451
GaiusSensei Avatar asked Sep 26 '09 08:09

GaiusSensei


People also ask

What is WPF used for?

WPF is a very rich UI framework which is used by developers to build Windows desktop applications. It comes with built-in support for graphics, resources, data binding and much other. It makes use of Extensible Markup Language to define views and it does it in a declarative way.

Is WPF .NET or .NET core?

WPF is a . NET Core UI framework for building Windows desktop applications.

Is WPF only C#?

WPF is used to build Windows client applications that run on Windows operating system. WPF uses XAML as its frontend language and C# as its backend languages.

What replaced WPF?

Universal Windows Platform. Both Windows Forms and WPF are old, and Microsoft is pointing developers towards its Universal Windows Platform (UWP) instead. UWP is an evolution of the new application platform introduced in Windows 8 in 2012.


2 Answers

You might want to look at the work of Karl Shifflett (program manager on the Cider team at Microsoft). He's one of the main forces in MVVM, and he deals pretty much exclusively in VB.NET, so you'll have plenty of samples to learn from. As an added bonus, he's written a framework called Ocean that should help you get started.

You can find more details on his blog here.

like image 86
Pete OHanlon Avatar answered Nov 08 '22 15:11

Pete OHanlon


You can download the sample app made by Josh Smith in the MSDN article "WPF Apps With The Model-View-ViewModel Design Pattern" in VB.net form

In general, all code in MSDN mag gets translated to VB.net.

like image 43
Eduardo Molteni Avatar answered Nov 08 '22 16:11

Eduardo Molteni