FlexPanel: A Flexible version of StackPanel

Panel is a seriously underrated feature of Microsoft’s XAML platform. Panel is the base class for basically all the controls in XAML which lay out children. How the children are laid out is up to the implementation of two simple methods in the sub classes. I’ve previously written…

Putting DLLs Into a Single WPF Exe

I’ve been working on a tool for use at my job. It’s written in WPF and using all my favorite libraries like ReactiveUI, Reactive Extensions and Json.NET. Using all these external libraries has landed me with a lot of DLLs that I need to include in the…

WrapPanel with full width columns

I wanted to have a grid of elements where the elements spanned the whole available width. Basically I wanted the same result you get when you set the ColumnDefinitions of a Grid to have equal width: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> <…