61

I have programmed with WPF for more than a year. When I started there weren't so many examples and guidelines to follow, now the situation is much more better.

I would like to ask you some help in listing the best WPF (open) source code examples or projects that you suggest to study in order to learn more about project structure, best practices, etc.

Thank you, Marco

Peter17
  • 3,052
  • 9
  • 47
  • 77
Drake
  • 8,225
  • 15
  • 71
  • 104
  • wpf itself is open source now.https://blogs.windows.com/buildingapps/2018/12/04/announcing-open-source-of-wpf-windows-forms-and-winui-at-microsoft-connect-2018/ – Lei Yang Dec 05 '18 at 12:32
  • Lei Yang is correct, as of now, WPF is now open source (see https://github.com/dotnet/wpf ) – RashadRivera Jul 06 '20 at 12:47

6 Answers6

23

If for you it is enough to have the source available (but not really open regarding the license) I still consider very useful FamilyShow (http://www.vertigo.com/FamilyShow.aspx) and Prism (http://www.codeplex.com/CompositeWPF) for an approach at a different "scale".

Fabrizio C.
  • 1,544
  • 10
  • 12
8

Crack.NET and Prism come to mind.

Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
7

You might be interested in the sample applications of the WPF Application Framework (WAF). They show:

  • View composition

  • UI Workflow (Wizards)

  • Command binding / Shortcut Keys

  • MVVM pattern, Unit Testing

  • Validation

  • Entity Framework

  • Open/Save FileDialog

  • Print Preview / Print Dialog

  • Localization

jbe
  • 6,976
  • 1
  • 43
  • 34
  • do you think this waf is suitable for data-centric-game development? for example some sport manager without animations? – Zavael Nov 23 '12 at 09:28
4

Although I haven't looked at it much myself, I've heard really good things about Caliburn It's an open source framework to help you build applications in SL and WPF using best practices and patterns such as MVC and MVVM.

Jacob Adams
  • 3,944
  • 3
  • 26
  • 42
3

Still not really "open", but very interesting
MSDN Reader http://code.msdn.microsoft.com/msdnreader

Fabrizio C.
  • 1,544
  • 10
  • 12
1

Couple more from codeplex:

Adi Lester
  • 24,731
  • 12
  • 95
  • 110
asyrov
  • 376
  • 1
  • 3
  • 11