A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Steven Kirk e8b574a6be Uncommented out code. 11 years ago
Cairo/Perspex.Cairo Updated NuGet pkgs. 11 years ago
Docs Fixed indentation. 11 years ago
Gtk/Perspex.Gtk Updated NuGet pkgs. 11 years ago
NGenerics Started refactoring lyaout. 11 years ago
Perspex.Animation Share animation timer. 11 years ago
Perspex.Application Updated NuGet pkgs. 11 years ago
Perspex.Base Updated NuGet pkgs. 11 years ago
Perspex.Controls Moved DataTemplateExtensions to Templates n.s. 11 years ago
Perspex.Diagnostics Updated NuGet pkgs. 11 years ago
Perspex.Input Added hacky tab keyboard navigation. 11 years ago
Perspex.Interactive.UnitTests Updated NuGet pkgs. 11 years ago
Perspex.Interactivity Updated NuGet pkgs. 11 years ago
Perspex.Layout Updated NuGet pkgs. 11 years ago
Perspex.SceneGraph Updated NuGet pkgs. 11 years ago
Perspex.Styling Updated NuGet pkgs. 11 years ago
Perspex.Themes.Default Fix scroll presenter child sizing. 11 years ago
TestApplication Uncommented out code. 11 years ago
TestFiles Fix expected test output. 11 years ago
Tests Updated NuGet pkgs. 11 years ago
Windows Updated NuGet pkgs. 11 years ago
.gitattributes Initial commit 12 years ago
.gitignore Added Gtk to VS/windows solutions 11 years ago
Perspex-Mono.sln Moved tests to Tests subdir. 11 years ago
Perspex-Windows.sln Moved tests to Tests subdir. 11 years ago
Perspex.sln Removed empty .nuget folder. 11 years ago
Settings.StyleCop Stylecop fixes. 11 years ago
licence.md Added licence.md 11 years ago
readme.md Added link to blog. 11 years ago

readme.md

Perspex

![Gitter](https://badges.gitter.im/Join Chat.svg)

...a next generation WPF?

Background

As everyone who's involved in client-side .NET development knows, the past half decade have been a very sad time. Where WPF started off as a game-changer, it now seems to have been all but forgotten. WinRT came along and took many of the lessons of WPF but it's currently not usable on the desktop.

After a few months of trying to reverse-engineer WPF with the Avalonia Project I began to come to the same conclusion that I imagine Microsoft came to internally: for all its groundbreaking-ness at the time, WPF at its core is a dated mess, written for .NET 1 and barely updated to even bring it up-to-date with .NET 2 features such as generics.

So I began to think: what if we were to start anew with modern C# features such as (gasp) Generics, Observables, async, etc etc. The result of that thought is Perspex.

DISCLAIMER

This is really early development pre-alpha-alpha stuff. Everything is subject to change, I'm not even sure if the performance characteristics of Rx make Observables suitable for binding throughout a framework. I'm writing this only to see if the idea of exploring these ideas appeals to anyone else.

Documentation

As mentioned above this is really an early version of Perspex and we're working hard on improving the code base and the documentation at the same time. Please feel free to have a look at our introduction document to get things started real quick.

There's also a high-level architecture document.

I've also started writing blog posts on Perspex at http://grokys.github.io/.

Contributions are always welcome!

Building and Using

In order to build and use Perpex you need a compiler that supports the upcoming C# 6 features.

  • Visual Studio 2015 Preview: The recommended way to compile C# 6 code is to use the new Visual Studio 2015 Preview version, which Microsoft has released later this year. It comes with the new Roslyn compiler and features like the new upcoming JIT (RyuJIT) and other improvements like extensible code analysis right out of the box. It can be downloaded here

  • Visual Studio 2013: With the introduction of the new Roslyn compiler platform earlier this year Microsoft has released an April End User Preview which is a small extension that brings supports to Visual Studio 2013.
    NOTE: This extension is out of date and will no longer be updated, according to the Roslyn CodePlex main page. However, if you don't want to use a Preview IDE feel free to download the extension over here. It must be noted that it is not guaranteed that future versions of Perspex will compile and run when using this extension.

Contributing

Please read the contribution guidelines before submitting a pull request.