Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 2.14 KB

Readme.md

File metadata and controls

28 lines (18 loc) · 2.14 KB

XAML Kitchen Sink

This is a github repository I started as a dumping ground for all the usefull chunks of code for XAML, view models, etc. This is mostly focused on WPF, but could be applicable to Silverlight, Windows Store Apps, Windows Phone 7/8 apps, etc.

SpicyTaco.AutoGrid

When you get fed up typing out Grid's verbose ColumnDefinitions checkout SpicyTaco.AutoGrid. There are many solutions to this problem. This is mine.

In addition to column and row definitions, it also offers ChildMargin, ChildHorizontalAlignment, and ChildVerticalAlignment.

Other Projects

WPF Crutches was started many years ago, but has some fantastic tools. WPF Bag of Tricks is another great one.

If you need to support animated GIFs in your project, then look no further than WpfAnimatedGif available on NuGet.

If you want an iOS inspired toggle switch, check out Toggle Switch Control Library.

Looking for spinners, checkout Xaml Spinner Kit or Xaml Spinners.

If you want a great source of inspiration for attached behaviors, then look to this great series by Bryan Watts. In it he gives alternatives to the common converter. I've since created many useful behaviors based on his work that you can find in the behaviors folder.

Since incorporating ReactiveUI I've been rethinking a lot of interaction logic in my view models. You can see one example of how to bubble commands up from the child in a collection to its parent in my proof of concept.

Links

Matrial Design Shadows - Marc Angers did an excellent job reproducing the beautiful shadows from Google's Material Design guidelines.