Skip to content
Minimal MVVM framework inspired by Caliburn Micro, with good documentation, high test coverage, and its own IoC container
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Bootstrappers Ensure that other IoC containers don't dispose things multiple times Nov 25, 2016
NuGet Don't try and uninstall Stylet.Start in install.ps1 Jun 12, 2017
Samples Conductor.OneActive should close children removed with items.Clear() Dec 3, 2016
StyletIntegrationTests Freeze BitmapSources before returning them Oct 8, 2015
StyletUnitTests If a ConductorOneActive item is closed, don't dispose it twice May 18, 2017
.gitattributes Use powershell, and powershell only, for Stylet.Start Apr 4, 2016
.gitignore Add rake task to generate code coverage report May 6, 2014
CHANGELOG.txt Update changelog Sep 5, 2018
LICENSE.txt Actually fill in the blanks in the license May 23, 2014 Fixed link to caliburn micro project May 10, 2016
Rakefile Fix cover report generation Jan 19, 2016
Stylet.sln Move to automatic nuget package restore Jul 9, 2016
Stylet.sln.DotSettings Align style with ReSharper Jan 14, 2015
StyletIcon.png First attempt at an icon Apr 18, 2014

Project Icon Stylet

NuGet Build status


Stylet is a small but powerful ViewModel-first MVVM framework for WPF, which allows you to write maintainable and extensible code in a way which is easy to test. Stylet's aims to:

  • Solve the blockers, niggles, and annoyances which hamper MVVM development without a framework, using simple but powerful concepts.
  • Be obvious to people picking up your project for the first time: there's very little magic
  • Be easy to verify/validate. The LOC count is low, and it comes with a very comprehensive test suite. The code is well-written and well-documented.
  • Be flexible while providing sensible defaults. Almost any part of the framework can be overridden if you wish, but you probably won't want to.

It is inspired by Caliburn.Micro, and shares many of its concepts, but removes most of the magic (replacing it with more powerful alternatives), and simplifies parts considerably by targeting only MVVM, WPF and .NET 4.5.

Getting Started

The quickest way to get started is to create a new WPF Application project, then install the NuGet package Stylet.Start. This will install Stylet, and set up a simple skeleton project.

See Quick Start for more details.

If you want to set up your project manually, install the Stylet package, then follow the instructions in the Quick Start.

Stylet requires .NET 4.5 (Visual Studio 2012 or higher).


The Wiki is the documentation source. There's loads of information there - go and have a look, or start with the Quick Start.


The source is also available when you are debugging, using GitLink. Go to Debug -> Options and Settings -> General, and make the following changes:

  • Turn off "Enable Just My Code"
  • Turn off "Enable .NET Framework source stepping". Yes, it is misleading, but if you don't, then Visual Studio will ignore your custom server order and only use its own servers.
  • Turn on "Enable source server support". You may have to OK a security warning.

See also GitLink troubleshooting.


Contributions are always welcome. If you've got a problem or a question, raise an issue. If you've got code you want to contribute, please read the Contributing guidelines first of all. Create a feature branch off the develop branch, add your changes there, and submit it as a pull request.

You can’t perform that action at this time.