ToolBarTray Adapter

There isn’t a native ToolBarTray adaptor built into the Prism library. Creating an adapter is only a matter of learning the secret handshake.

It takes three parts to get an adaptor to work. The first part is the adaptor itself. The second is wiring it into the bootstrapper. The third part is the XAML to define the region. Below are samples of all three.

Continue reading ToolBarTray Adapter

Aspect-Oriented Programming

As I build up the next version of my Carbon framework, I have been researching everything and anything that might help make my life and my teammates’ lives easier.  To that end, I hit upon Aspect-Oriented Programming (again).  I had seen it before but for whatever reason it failed to resonate with me.  This time, I hit a power chord by way of PostSharp.
Continue reading Aspect-Oriented Programming

Marshmallow Test

You might think I’m kidding but one the program owners that I work with has a strict “Do not talk to Ivan” policy for her team.

Why?

Simply put: Interruptions kill progress.

Programmers have to mentally load extremely complex mental models to do our jobs.  There are a million and one little things that I’m trying to keep “in mind” when I write code.  Stuff I write ends up in dozens of apps.  Those apps help drive a multi-billion dollar business.  (58 billion, at the last reporting.)   So do you really want me to answer your question about highlight colors in a editable cell or would you like for me to keep my mind on writing the validation logic?   Continue reading Marshmallow Test

Win7 Re-install Media

If you installed the Windows 10 Technical Preview (like I did), you might want to roll back to Windows 7.  As will all preview builds, there isn’t an easy way to do that.  Microsoft has stepped up and provided a mechanism to rollback your Win10 TP install to a regular Win7 install.

Continue reading Win7 Re-install Media